mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-06 18:54:25 +08:00
Add nav-1.vim
This syntax file is for CSS Spatial Navigation Level 1. See also: https://www.w3.org/TR/2019/WD-css-nav-1-20190423/
This commit is contained in:
2
after/syntax/css/nav-1.vim
Normal file
2
after/syntax/css/nav-1.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn match cssFontProp contained "\<spatial-navigation-\(action\|contain\)\>"
|
||||
syn keyword cssFontAttr contained focus
|
||||
@@ -580,6 +580,12 @@ mask {
|
||||
display: auto;
|
||||
}
|
||||
|
||||
.nav-1 {
|
||||
spatial-navigation-contain: auto;
|
||||
spatial-navigation-action: auto;
|
||||
display: focus;
|
||||
}
|
||||
|
||||
.overflow-3 {
|
||||
max-lines: auto;
|
||||
block-overflow: auto;
|
||||
|
||||
Reference in New Issue
Block a user