mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-06 10:44:23 +08:00
Update values-4.vim
https://www.w3.org/TR/2021/WD-css-values-4-20210715/
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(vi\|vb\|ic\|cap\|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="\<\(min\|max\|clamp\|toggle\|round\|mod\|rem\|a\=\(sin\|cos\|tan\)\|atan2\|pow\|sqrt\|hypot\|log\|exp\|abs\|sign\)\s*(" end=")" oneline keepend
|
||||
|
||||
@@ -1180,6 +1180,24 @@ view {
|
||||
display: 1cap;
|
||||
display: 1lh;
|
||||
display: 1rlh;
|
||||
display: 1svh;
|
||||
display: 1svw;
|
||||
display: 1svi;
|
||||
display: 1svb;
|
||||
display: 1svmin;
|
||||
display: 1svmax;
|
||||
display: 1lvh;
|
||||
display: 1lvw;
|
||||
display: 1lvi;
|
||||
display: 1lvb;
|
||||
display: 1lvmin;
|
||||
display: 1lvmax;
|
||||
display: 1dvh;
|
||||
display: 1dvw;
|
||||
display: 1dvi;
|
||||
display: 1dvb;
|
||||
display: 1dvmin;
|
||||
display: 1dvmax;
|
||||
display: min(0, 1);
|
||||
display: max(0, 1);
|
||||
display: clamp(0, 100, 2);
|
||||
|
||||
Reference in New Issue
Block a user