comparison vendor/vim-syntax/css.vim @ 649:a6bbbee07a3a

Update syntaxes
author nanaya <me@nanaya.pro>
date Sat, 17 Oct 2020 07:09:53 +0900
parents 673c14e2a45e
children c74dffea6a0a
comparison
equal deleted inserted replaced
648:2bb0035876b1 649:a6bbbee07a3a
59 " .class and #id 59 " .class and #id
60 syn match cssClassName "\.-\=[A-Za-z_][A-Za-z0-9_-]*" contains=cssClassNameDot 60 syn match cssClassName "\.-\=[A-Za-z_][A-Za-z0-9_-]*" contains=cssClassNameDot
61 syn match cssClassNameDot contained '\.' 61 syn match cssClassNameDot contained '\.'
62 62
63 try 63 try
64 syn match cssIdentifier "#[A-Za-zÀ-ÿ_@][A-Za-zÀ-ÿ0-9_@-]*" 64 syn match cssIdentifier "#[A-Za-zÀ-ÿ_@][A-Za-zÀ-ÿ0-9_@-]*"
65 catch /^.*/ 65 catch /^.*/
66 syn match cssIdentifier "#[A-Za-z_@][A-Za-z0-9_@-]*" 66 syn match cssIdentifier "#[A-Za-z_@][A-Za-z0-9_@-]*"
67 endtry 67 endtry
68 68
69 " digits 69 " digits
647 unlet main_syntax 647 unlet main_syntax
648 endif 648 endif
649 649
650 let &cpo = s:cpo_save 650 let &cpo = s:cpo_save
651 unlet s:cpo_save 651 unlet s:cpo_save
652
652 " vim: ts=8 653 " vim: ts=8
653