vscode-sass-indented
vscode-sass-indented copied to clipboard
Allow for spaces between names and :
Currently, if you type an identifier like this
name: value
it gets picked up by the syntax highliter.
But if you type
name : value
or
name : value
it does not get picked up, even though it's valid syntax.
Also, for variables, the same occurs
$name: value
is fine, but
$name : value
is not picked up.
Please note that the ":" should be parsed as an operator (its own token), and not as part of the id name. This seems to currently be the case with name: value
, name : value
, and $name : value
but not with $name: value
.
Keep in mind that number of tabs and spaces allowed should be arbitrary, ie: [\s\t]*
if I'm correct.
Have a great day!
i also noticed that but i never looked into it, im currently only fixing bugs so if you want you can make a pr, otherwise this might take a while.