diff --git a/LESS.sublime-syntax b/LESS.sublime-syntax index c93f3a1..b6b85a3 100644 --- a/LESS.sublime-syntax +++ b/LESS.sublime-syntax @@ -212,6 +212,7 @@ contexts: - include: string-double - include: string-single - include: less-variables + - include: css-variables - include: less-operators - include: commas - include: terminator @@ -259,6 +260,7 @@ contexts: - include: string-double - include: string-single - include: less-variables + - include: css-variables - include: less-operators - include: commas - include: terminator diff --git a/syntax_test_less.less b/syntax_test_less.less index 6d15dd9..a040227 100755 --- a/syntax_test_less.less +++ b/syntax_test_less.less @@ -136,6 +136,10 @@ html::before { color: @link-color; text-decoration: none; &:hover { + .message-mixin(success; var(--green); var(--green-dark)); +/* ^^^ support.function.var.css */ +/* ^^ punctuation.definition.custom-property.css*/ +/* ^ support.type.custom-property.name.css */ object-fit: scale-down; /* ^^^^^^^^^^ support.type.property-name.css */ /* ^^^^^^^^^^ meta.property-value.css support.constant.property-value.css */