aboutsummaryrefslogtreecommitdiffstats
path: root/queries/css
diff options
context:
space:
mode:
Diffstat (limited to 'queries/css')
-rw-r--r--queries/css/highlights.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/css/highlights.scm b/queries/css/highlights.scm
index bacc5bd26..b26f0ec96 100644
--- a/queries/css/highlights.scm
+++ b/queries/css/highlights.scm
@@ -57,9 +57,9 @@
(namespace_name) @namespace
((property_name) @type.definition
- (#match? @type.definition "^--"))
+ (#lua-match? @type.definition "^[-][-]"))
((plain_value) @type
- (#match? @type "^--"))
+ (#lua-match? @type "^[-][-]"))
[
(string_value)