sublimetext-codeformatter icon indicating copy to clipboard operation
sublimetext-codeformatter copied to clipboard

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

Open LucaCappelletti94 opened this issue 8 years ago • 0 comments

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:

div{
  &: nth-child(odd) {
    background-color: red;
  }
}

As it becomes:

div{
  &:  nth-child(odd) {
    background-color: red;
  }
}

LucaCappelletti94 avatar Apr 23 '17 12:04 LucaCappelletti94