diff options
Diffstat (limited to 'runtime/syntax/css.vim')
-rw-r--r-- | runtime/syntax/css.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/syntax/css.vim b/runtime/syntax/css.vim index c569213d..c2c83570 100644 --- a/runtime/syntax/css.vim +++ b/runtime/syntax/css.vim @@ -2,7 +2,7 @@ " Language: Cascading Style Sheets " Maintainer: Claudio Fleiner <claudio@fleiner.com> " URL: http://www.fleiner.com/vim/syntax/css.vim -" Last Change: 2010 Jul 28 +" Last Change: 2011 Dec 14 " CSS2 by Nikolai Weibull " Full CSS2, HTML4 support by Yeti @@ -182,7 +182,7 @@ syn match cssError contained "{@<>" syn region cssDefinition transparent matchgroup=cssBraces start='{' end='}' contains=css.*Attr,css.*Prop,cssComment,cssValue.*,cssColor,cssURL,cssImportant,cssError,cssStringQ,cssStringQQ,cssFunction,cssUnicodeEscape syn match cssBraceError "}" -syn match cssPseudoClass ":\S*" contains=cssPseudoClassId,cssUnicodeEscape +syn match cssPseudoClass ":[A-Za-z0-9_-]*" contains=cssPseudoClassId,cssUnicodeEscape syn keyword cssPseudoClassId contained link visited active hover focus before after left right syn match cssPseudoClassId contained "\<first\(-\(line\|letter\|child\)\)\=\>" syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":lang(" end=")" oneline |