Closed alexwllms closed 10 years ago
This is a known issue (see #32), and it is because the priority of keywords is higher than those of matches/regions (baseline
is a CSS keyword whereas a function is a region).
You can fix it in your .vimrc
by adding the hyphen to the keyword characters:
autocmd FileType scss set iskeyword+=-
Perfect. Thank you!
I saw a similar, but fixed, issue in https://github.com/cakebaker/scss-syntax.vim/issues/31
However, I am having a problem where when I invoke a function (containing a hyphen) it does not properly highlight.
See baseline-unit() function below: