akalongman / akalongman/sublimetext-codeformatter

SCSS nested indenting buggy after commit #290

Aberta
#293 1 comentário 3 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Python
Estrelas
772
Forks
128
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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;
}
}
}
}

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.