Unnamed repository; edit this file 'description' to name the repository.
queries: Fix highlighting of '#' in CSS color hex codes
This was previously highlighted as `punctuation` because the capture
applied to the whole `(color_value)` node rather than the `"#"` child
node specifically.
| -rw-r--r-- | runtime/queries/css/highlights.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/queries/css/highlights.scm b/runtime/queries/css/highlights.scm index 74958457..e7f73219 100644 --- a/runtime/queries/css/highlights.scm +++ b/runtime/queries/css/highlights.scm @@ -65,7 +65,7 @@ ] @punctuation (string_value) @string -((color_value) "#") @string.special +(color_value "#" @string.special) (color_value) @string.special (integer_value) @constant.numeric.integer |