diff options
author | farwyler | 2022-12-04 15:45:31 +0000 |
---|---|---|
committer | GitHub | 2022-12-04 15:45:31 +0000 |
commit | 59cfe95776238f047131e497124c97d69d838c2b (patch) | |
tree | ba7d313e6d8c656ae5cf33c1389d3567bd46ed1e /runtime/queries | |
parent | c13c6d56b6eb0e117cb92ba4011155b519befde6 (diff) |
Add support for single-line comments to scss (#5003)
Diffstat (limited to 'runtime/queries')
-rw-r--r-- | runtime/queries/scss/highlights.scm | 2 | ||||
-rw-r--r-- | runtime/queries/scss/injections.scm | 2 |
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")) |