akalongman / akalongman/sublimetext-codeformatter

Current build (23/04/2017) breaks scss code.

Offen
#300 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
772
Forks
128
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

The current build breaks scss code by adding spaces after &:nth-child, but not in case of filter such as &:hover or &:before. Also, it does not format properly curly brackets, with an error di one or more spaces.
What information would you require? (Sublime text 3, build 3126, macOs)

As it should be:
```scss
div{
&: nth-child(odd) {
background-color: red;
}
}
```
As it becomes:
```scss
div{
&: nth-child(odd) {
background-color: red;
}
}
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.