aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
diff options
context:
space:
mode:
authorfarwyler2022-12-04 15:45:31 +0000
committerGitHub2022-12-04 15:45:31 +0000
commit59cfe95776238f047131e497124c97d69d838c2b (patch)
treeba7d313e6d8c656ae5cf33c1389d3567bd46ed1e /runtime/queries
parentc13c6d56b6eb0e117cb92ba4011155b519befde6 (diff)
Add support for single-line comments to scss (#5003)
Diffstat (limited to 'runtime/queries')
-rw-r--r--runtime/queries/scss/highlights.scm2
-rw-r--r--runtime/queries/scss/injections.scm2
2 files changed, 2 insertions, 2 deletions
diff --git a/runtime/queries/scss/highlights.scm b/runtime/queries/scss/highlights.scm
index 89cce494..8ba00a88 100644
--- a/runtime/queries/scss/highlights.scm
+++ b/runtime/queries/scss/highlights.scm
@@ -1,4 +1,4 @@
-(comment) @comment
+[(comment) (single_line_comment)] @comment
"~" @operator
">" @operator
diff --git a/runtime/queries/scss/injections.scm b/runtime/queries/scss/injections.scm
index 321c90ad..350ea9e7 100644
--- a/runtime/queries/scss/injections.scm
+++ b/runtime/queries/scss/injections.scm
@@ -1,2 +1,2 @@
-((comment) @injection.content
+([(comment) (single_line_comment)] @injection.content
(#set! injection.language "comment"))