mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-08 03:24:44 +08:00
Add css-pseudo-4.vim and test
See also: http://www.w3.org/TR/css-pseudo-4/
This commit is contained in:
1
after/syntax/css/css-pseudo-4.vim
Normal file
1
after/syntax/css/css-pseudo-4.vim
Normal file
@@ -0,0 +1 @@
|
|||||||
|
syn match cssPseudoClassId contained "\<\(spelling\|grammer\)-error\>"
|
||||||
@@ -35,6 +35,7 @@ syn include @htmlCss syntax/css/css-line-grid-1.vim
|
|||||||
syn include @htmlCss syntax/css/css-lists-3.vim
|
syn include @htmlCss syntax/css/css-lists-3.vim
|
||||||
syn include @htmlCss syntax/css/css-masking-1.vim
|
syn include @htmlCss syntax/css/css-masking-1.vim
|
||||||
syn include @htmlCss syntax/css/css-overflow-3.vim
|
syn include @htmlCss syntax/css/css-overflow-3.vim
|
||||||
|
syn include @htmlCss syntax/css/css-pseudo-4.vim
|
||||||
syn include @htmlCss syntax/css/css-ruby-1.vim
|
syn include @htmlCss syntax/css/css-ruby-1.vim
|
||||||
syn include @htmlCss syntax/css/css-scoping-1.vim
|
syn include @htmlCss syntax/css/css-scoping-1.vim
|
||||||
syn include @htmlCss syntax/css/css-shapes-1.vim
|
syn include @htmlCss syntax/css/css-shapes-1.vim
|
||||||
|
|||||||
@@ -331,6 +331,13 @@
|
|||||||
presentation-level: increment;
|
presentation-level: increment;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.pseudo::selection,
|
||||||
|
.pseudo::spelling-error,
|
||||||
|
.pseudo::grammer-error,
|
||||||
|
.pseuod::placeholder {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
.regions:region {
|
.regions:region {
|
||||||
flow-into: element;
|
flow-into: element;
|
||||||
flow-from: content;
|
flow-from: content;
|
||||||
|
|||||||
@@ -340,6 +340,13 @@
|
|||||||
presentation-level: increment;
|
presentation-level: increment;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.pseudo::selection,
|
||||||
|
.pseudo::spelling-error,
|
||||||
|
.pseudo::grammer-error,
|
||||||
|
.pseuod::placeholder {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
.regions:region {
|
.regions:region {
|
||||||
flow-into: element;
|
flow-into: element;
|
||||||
flow-from: content;
|
flow-from: content;
|
||||||
|
|||||||
Reference in New Issue
Block a user