Zaffy wrote:

> I'm using ArchLinux distribution and every time I update vim package I
> see this annoying error message when filetype/hightlight is set to html:
> 
> Error detected while processing /usr/share/vim/vim74/syntax/html.vim:
> line  208:
> E409: Unknown group name:
> css.*Attr,css.*Prop,cssComment,cssLength,cssColor,cssURL
> ,cssImportant,cssError,cssString,@htmlPreproc
> E475: Invalid argument: htmlCssDefinition matchgroup=htmlArg
> start='style="' keepe
> nd matchgroup=htmlString end='"'
> contains=css.*Attr,css.*Prop,cssComment,cssLength
> ,cssColor,cssURL,cssImportant,cssError,cssString,@htmlPreproc
> Press ENTER or type command to continue
> 
> I usually remove the line 208 from /usr/share/vim/vim74/syntax/html.vim
> completely, but  it's been a while, so I think this could be solved.
> 
> Line 208 in /usr/share/vim/vim74/syntax/html.vim is:
> 
> syn region htmlCssDefinition matchgroup=htmlArg start='style="' keepend
> matchgroup=htmlString end='"'
> contains=css.*Attr,css.*Prop,cssComment,cssLength,cssColor,cssURL,cssImportant,cssError,cssString,@htmlPreproc

Do you perhaps have a different css.vim file?  Check the output of
:scriptnames.

-- 
What is the difference between a professional and an amateur?
The ark was built by an amateur; professionals gave us the Titanic.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui