mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-07 03:04:26 +08:00
Check 'cssWritingModesProp' highlight group
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
" TODO: create cssWritingModeProp group and cssWritingModeAttr group
|
||||
syn match cssFontProp contained "\<text-\(orientation\|combine-horizontal\)\>"
|
||||
syn match cssFontProp contained "\<writing-mode\>"
|
||||
syn keyword cssFontAttr contained before after mixed isolate plaintext
|
||||
syn match cssFontAttr contained "\<\(upright\|sideways\(-right\|-left\)\=\|use-glyph-orientation\)\>"
|
||||
syn match cssFontAttr contained "\<isolate-override\>"
|
||||
syn match cssFontAttr contained "\<\(horizontal-tb\|vertical-\(rl\|lr\)\)\>"
|
||||
if !hlexists('cssWritingModeProp')
|
||||
syn match cssFontProp contained "\<text-\(orientation\|combine-horizontal\)\>"
|
||||
syn match cssFontProp contained "\<writing-mode\>"
|
||||
syn keyword cssFontAttr contained before after mixed isolate plaintext
|
||||
syn match cssFontAttr contained "\<\(upright\|sideways\(-right\|-left\)\=\|use-glyph-orientation\)\>"
|
||||
syn match cssFontAttr contained "\<isolate-override\>"
|
||||
syn match cssFontAttr contained "\<\(horizontal-tb\|vertical-\(rl\|lr\)\)\>"
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user