Skip to content

Commit 759d7f5

Browse files
committed
Merge branch 'st4107'
2 parents 6ee5ee4 + bb7af83 commit 759d7f5

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

Syntaxes/Less.sublime-syntax

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,16 @@ contexts:
306306
- include: calc-functions
307307
- include: var-functions
308308

309+
hsl-color-function-arguments-list-body:
310+
- meta_content_scope: meta.function-call.arguments.css meta.group.css
311+
- include: alpha-delimiters
312+
- include: other-function-arguments-list-body
313+
314+
rgb-color-function-arguments-list-body:
315+
- meta_content_scope: meta.function-call.arguments.css meta.group.css
316+
- include: alpha-delimiters
317+
- include: other-function-arguments-list-body
318+
309319
url-function-arguments-list-body:
310320
- meta_content_scope: meta.function-call.arguments.css meta.group.css
311321
- include: css-function-arguments-prototype

tests/syntax_test_css.less

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2733,19 +2733,19 @@
27332733
/* note: we can't distinguish operators from alpha-separator; */
27342734
color: hwb(0 100% 50% / 1.0);
27352735
/* ^^^ support.function.color.css */
2736-
/* ^ keyword.operator.arithmetic.less */
2736+
/* ^ punctuation.separator.alpha.css */
27372737

27382738
color: lab(0% 0 0 / 1.0);
27392739
/* ^^^ support.function.color.css */
2740-
/* ^ keyword.operator.arithmetic.less */
2740+
/* ^ punctuation.separator.alpha.css */
27412741

27422742
color: lch(0% 0.0 0.0 / 1.0);
27432743
/* ^^^ support.function.color.css */
27442744
/* ^^ meta.number.integer.decimal.css */
27452745
/* ^ constant.numeric.value.css */
27462746
/* ^^^ meta.number.float.decimal.css constant.numeric.value.css */
27472747
/* ^^^ meta.number.float.decimal.css constant.numeric.value.css */
2748-
/* ^ keyword.operator.arithmetic.less */
2748+
/* ^ punctuation.separator.alpha.css */
27492749
/* ^^^ meta.number.float.decimal.css constant.numeric.value.css */
27502750

27512751
color: lch(20% 10% 20grad / 100%);
@@ -2759,7 +2759,7 @@
27592759
/* ^^^^^^ meta.number.integer.decimal.css */
27602760
/* ^^ constant.numeric.value.css */
27612761
/* ^^^^ constant.numeric.suffix.css */
2762-
/* ^ keyword.operator.arithmetic.less */
2762+
/* ^ punctuation.separator.alpha.css */
27632763
/* ^^^^ meta.number.integer.decimal.css */
27642764
/* ^^^ constant.numeric.value.css */
27652765
/* ^ constant.numeric.suffix.css */

0 commit comments

Comments
 (0)