Kevin Liu
unread,Jun 16, 2008, 4:34:57 AM6/16/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vim...@vim.org
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)