mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-06 10:44:23 +08:00
add support for CSS3 Text
This commit is contained in:
@@ -1,4 +1 @@
|
||||
syn match cssTextProp contained "\<text-\(shadow\|overflow\)\>"
|
||||
syn match cssTextProp contained "\<word-wrap\>"
|
||||
|
||||
syn match cssBoxProp contained "\<overflow-\(x\|y\)\>"
|
||||
|
||||
6
after/syntax/css/css3-text.vim
Normal file
6
after/syntax/css/css3-text.vim
Normal file
@@ -0,0 +1,6 @@
|
||||
syn match cssTextProp contained "\<hanging-punctuation\>"
|
||||
syn match cssTextProp contained "\<line-break\>"
|
||||
syn match cssTextProp contained "\<punctuation-trim\>"
|
||||
syn match cssTextProp contained "\<white-space-collapsing\>"
|
||||
syn match cssTextProp contained "\<word-\(break\|wrap\)\>"
|
||||
syn match cssTextProp contained "\<text-\(align-last\|autospace\|justify\|outline\|overflow\|shadow\|underline-position\|wrap\|emphasis\(-\(color\|position\|style\)\)\=\|decoration-\(color\|line\|skip\|style\)\>"
|
||||
Reference in New Issue
Block a user