Sublime-CSS-Format
Sublime-CSS-Format copied to clipboard
wrong formatting of less comments
when i format this
// body {
// clear: both;
// }
i got this (note: it has syntax error)
// body {
// clear: both;
//
}
expected result
// body {
// clear: both;
// }
Additionally, wrapping a complete CSS rule in comments will increase the indent of the property each time the file is saved!
/*li:before {
display: none;
}*/
Becomes...
/*li:before {
display: none;
}*/
@scotty6435 that's different issue
@thecotne I see, didn't spot the missing comment. It does still indicate there is a comment parsing problem.
Getting the same issues as @thecotne and @scotty6435
Original
First save
Second save
Expected result: no changes.