[nvim] Add highlighting for block and inline padding and margin declarations in CSS
This commit is contained in:
parent
aa81cb66eb
commit
e797d0d213
1 changed files with 7 additions and 0 deletions
7
config/nvim/after/syntax/css.vim
Normal file
7
config/nvim/after/syntax/css.vim
Normal file
|
@ -0,0 +1,7 @@
|
|||
" css.vim
|
||||
" Eryn Wells <eryn@erynwells.me>
|
||||
|
||||
syn match cssLogicalBoxProp contained "\<padding-\(block\|inline\)\=\(-\(start\|end\)\)\=\>"
|
||||
syn match cssLogicalBoxProp contained "\<margin-\(block\|inline\)\=\(-\(start\|end\)\)\=\>"
|
||||
|
||||
hi def link cssLogicalBoxProp cssProp
|
Loading…
Add table
Add a link
Reference in a new issue