Skip to content

Commit 53c2606

Browse files
committed
1 parent b31ab2c commit 53c2606

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

after/syntax/css/values-4.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(ic\|cap\|lh\|rlh\)"
1+
syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(rex\|cap\|rcap\|rch\|ic\|ric\|lh\|rlh\)"
22
syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(s\|l\|d\)\=v\(h\|w\|i\|b\|min\|max\)"
33
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

test/test.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1174,8 +1174,12 @@ view {
11741174
.values-4 {
11751175
display: 1vi;
11761176
display: 1vb;
1177-
display: 1ic;
1177+
display: 1rex;
11781178
display: 1cap;
1179+
display: 1rcap;
1180+
display: 1rch;
1181+
display: 1ic;
1182+
display: 1ric;
11791183
display: 1lh;
11801184
display: 1rlh;
11811185
display: 1svh;

0 commit comments

Comments
 (0)