mirror of https://github.com/helix-editor/helix
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.pull/12577/head^2
parent
4099465632
commit
fed3edcab7
|
@ -65,7 +65,7 @@
|
||||||
] @punctuation
|
] @punctuation
|
||||||
|
|
||||||
(string_value) @string
|
(string_value) @string
|
||||||
((color_value) "#") @string.special
|
(color_value "#" @string.special)
|
||||||
(color_value) @string.special
|
(color_value) @string.special
|
||||||
|
|
||||||
(integer_value) @constant.numeric.integer
|
(integer_value) @constant.numeric.integer
|
||||||
|
|
Loading…
Reference in New Issue