please add support for CSS
majewsky opened this issue · comments
CSS has C-style block comments /* ... */
only.
@majewsky Are you describing what I have been experiencing when running DetectIndent
on a CSS file?
When run on a file with multiline block comments, i.e.,
/*
* CSS Multi-line comment
* ===================================
* Description about the class
*/
.described-class {
position: relative;
}
it returns an softtabstop
and shiftwidth
of 1.
Exactly. That's the same problem that prompted me to open the issue.
Adding CSS
to the array in HasCStyleComments()
function on line 35 of the plugin seems to fix this.