The current syn match for cssPseudoClass ":\S*" would eat away tokens after
it, such as the comma "," after a:link and the curly bracelet "{" after
a:visited in:
.selected_section_title a:link,.selected_section_title a:visited{ ...

The simple patch to syntax/css.vim attached should fix the above issue.

185c185
< syn match cssPseudoClass ":\S*" contains=cssPseudoClassId,cssUnicodeEscape
---
> syn match cssPseudoClass ":[^\s,{]\+"
contains=cssPseudoClassId,cssUnicodeEscape



-- 
Kevin Tsung-Yuan Liu
Google Taipei Software Engineer (GMT+8)

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Attachment: css.vim.patch
Description: Binary data

Raspunde prin e-mail lui