Lots of vim errors when using the plugin
danielbeardsley opened this issue · 2 comments
danielbeardsley commented
I've got the plugin loaded via pathogen and the syntax highlight looks fine. When I open a less file I get this:
Error detected while processing /mnt/ebs/home/dbeardsley/.vim/bundle/vim-less/syntax/less.vim:
line 12:
E409: Unknown group name: cssValue.*,cssColor,cssTagName,cssPseudoClass,cssUrl,cssImportant,cssError,cssStringQ,cssStringQQ,cssFunction,cssUnicodeEscape,lessDefinition,lessComment,lessClassChar,lessVariable,lessMixinChar,lessAmpersandChar,lessFunction,@cssColors fold
E475: Invalid argument: lessDefinition transparent matchgroup=cssBraces start='{' end='}' contains=css.*Attr,css.*Prop,cssComment,cssValue.*,cssColor,cssTagName,cssPseudoClass,cssUrl,cssImportant,cssError,cssStringQ,cssStringQQ,cssFunction,cssUnicodeEscape,lessDefinition,lessComment,lessClassChar,lessVariable,lessMixinChar,lessAmpersandChar,lessFunction,@cssColors fold
line 17:
E409: Unknown group name: cssValue.*,@cssColors "me=e-1 means that the last char of the pattern is not highlighted
E475: Invalid argument: lessVariableValue ".*;"me=e-1 contained contains=lessVariable,lessOperator,lessDefault,cssValue.*,@cssColors "me=e-1 means that the last char of the pattern is not highlighted
Note: I'm using VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Jul 24 2012 11:16:47)
evanstern commented
I was having this exact problem. I did some searching and found that the root cause was that I was using a non standard 'css.vim' syntax file. This plugin is expecting a bunch of defined stuff from the default css syntax but if you have a non standard css.vim file in your syntax folder those variables may not be defined.
Check if you have a ~/.vim/syntax/css.vim
file hanging around. If you do get rid of it and see if that helps.
Shu-Ji commented
Then where can i get the standard css.vim
?