akalongman / akalongman/sublimetext-codeformatter

SCSS nested indenting buggy after commit #290

Aperta
#293 1 commento 3 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
772
Fork
128
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Since commit #290 the closing brackets and subsequent rules in a nest have less indentation than there should be depending on their nested depth. With indenting set to 4 spaces:

**Expected**

.test {
margin: 0;
.nest1 {
margin: 0;
.nest2 {
margin: 0;
.nest3 {
margin: 0;
.nest4 {
margin: 0;
}
}

.test1 {
margin: 0;
}
}
}
}

**Actual**

.test {
margin: 0;
.nest1 {
margin: 0;
.nest2 {
margin: 0;
.nest3 {
margin: 0;
.nest4 {
margin: 0;
}
}

.test1 {
margin: 0;
}
}
}
}

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.