Add css-writing-modes-4.vim

This syntax is for new spec WD-css-writing-modes-4-20171207.

See also: http://www.w3.org/TR/2017/WD-css-writing-modes-4-20171207/

This commit also removes deferred properties and values from
`css-writing-modes-3.vim`.
This commit is contained in:
Kyo Nagashima
2017-12-08 12:08:29 +09:00
parent f52a441267
commit aed0768408
3 changed files with 7 additions and 4 deletions

View File

@@ -1,8 +1,7 @@
syn match cssFontProp contained "\<writing-mode\>"
syn match cssFontProp contained "\<text-\(orientation\|combine-upright\)\>"
syn match cssFontProp contained "\<glyph-orientation-vertical\>"
syn keyword cssFontAttr contained before after mixed upright plaintext
syn match cssFontAttr contained "\<sideways\(-rl\|-lr\)\=\>"
syn keyword cssFontAttr contained before after mixed upright plaintext sideways
syn match cssFontAttr contained "\<isolate\(-override\)\=\>"
syn match cssFontAttr contained "\<horizontal-tb\>"
syn match cssFontAttr contained "\<vertical-\(rl\|lr\)\>"

View File

@@ -0,0 +1 @@
syn match cssFontAttr contained "\<sideways-\(rl\|lr\)\>"