mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-07 03:04:26 +08:00
add support for CSS3 Generated Content for Paged Media
This commit is contained in:
10
after/syntax/css/css3-gcpm.vim
Normal file
10
after/syntax/css/css3-gcpm.vim
Normal file
@@ -0,0 +1,10 @@
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(target-\(counter\|counters\|text\)\|symbols\)\s*(" end=")" oneline keepend
|
||||
syn keyword cssGeneratedContentProp contained bleed hyphens marks
|
||||
syn match cssGeneratedContentProp contained "\<bookmark-\(lable\|level\|state\|target\)\>"
|
||||
syn match cssGeneratedContentProp contained "\<float-offset\>"
|
||||
syn match cssGeneratedContentProp contained "\<hyphenate-\(before\|character\|lines\|resource\)\>"
|
||||
syn match cssGeneratedContentProp contained "\<image-resolution\>"
|
||||
syn match cssGeneratedContentProp contained "\<string-set\>"
|
||||
syn keyword cssGeneratedContentAttr contained open closed manual crop cross
|
||||
syn match cssGeneratedContentAttr contained "\<no-limit\>"
|
||||
syn match cssGeneratedContentAttr contained "\<super-decimal\>"
|
||||
Reference in New Issue
Block a user