cakebaker / scss-syntax.vim

Vim syntax file for scss (Sassy CSS)
386 stars 71 forks source link

Some properties are (incorrectly) highlighted as errors #51

Closed alem0lars closed 9 years ago

alem0lars commented 9 years ago

As you can see in the screenshot below, sometimes properties are highlighted as errors, but they are correct properties (like font-size, etc..)

napkin napkin 24-02-15 10 54 33 am

cakebaker commented 9 years ago

I'm unable to reproduce this issue. Somehow I think there is some difference between your Vim environment and mine, considering I'm unable to reproduce #47, #50 and this ticket...

alem0lars commented 9 years ago

I get that error (red background highlight) only if I don't have set:

autocmd FileType scss set iskeyword+=-

If you include the code above in your VIm configuration you don't see the bug (red background highlight). In that case I see the properties not highlighted (as margin-top in that screenshot), but I think that is the bug #50.

BTW the issue #47 is fixed and it works correctly now :)

I attach a gist of the file related to the screenshot so you can test against the whole file content: https://gist.github.com/alem0lars/95ab3bfd7dd8484de5f0

Thanks for the support.

cakebaker commented 9 years ago

Closing this ticket as the issue has the same cause as #50.