mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-06 18:54:25 +08:00
Update values-4.vim
https://www.w3.org/TR/2021/WD-css-values-4-20211016/
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(ic\|cap\|lh\|rlh\)"
|
||||
syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(rex\|cap\|rcap\|rch\|ic\|ric\|lh\|rlh\)"
|
||||
syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(s\|l\|d\)\=v\(h\|w\|i\|b\|min\|max\)"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(mix\|min\|max\|clamp\|toggle\|round\|mod\|rem\|a\=\(sin\|cos\|tan\)\|atan2\|pow\|sqrt\|hypot\|log\|exp\|abs\|sign\)\s*(" end=")" oneline keepend
|
||||
|
||||
@@ -1174,8 +1174,12 @@ view {
|
||||
.values-4 {
|
||||
display: 1vi;
|
||||
display: 1vb;
|
||||
display: 1ic;
|
||||
display: 1rex;
|
||||
display: 1cap;
|
||||
display: 1rcap;
|
||||
display: 1rch;
|
||||
display: 1ic;
|
||||
display: 1ric;
|
||||
display: 1lh;
|
||||
display: 1rlh;
|
||||
display: 1svh;
|
||||
|
||||
Reference in New Issue
Block a user