bracey.vim
bracey.vim copied to clipboard
Using CSS global variables displays error
When using this code at the top of a CSS file, a pink circle pops up at the webpage stating "2:2: Expected RBRACE at line 2, col 2."
:root {
--mySize:50px;
}
The double-dash seems to be the problem. The major annoyance is that after using these variables, the auto-updating of the website breaks completely, until the double-dashes have been removed.
yikes! That's pretty bad. Thanks for the straight forward repro.
I'm guessing the CSS parser or linter are way out of date, this project predates CSS variables. I'll give updating a shot when I get a chance.