mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-05 03:47:51 +03:00
chore(solidity): add highlight queries (#12102)
Add highlights for `hex` and `unicode` string prefixes and YUL booleans
This commit is contained in:
parent
b8313da5a8
commit
9e0d2d0a19
1 changed files with 9 additions and 6 deletions
|
@ -12,6 +12,8 @@
|
||||||
(unicode_string_literal)
|
(unicode_string_literal)
|
||||||
(yul_string_literal)
|
(yul_string_literal)
|
||||||
] @string
|
] @string
|
||||||
|
(hex_string_literal "hex" @string.special.symbol)
|
||||||
|
(unicode_string_literal "unicode" @string.special.symbol)
|
||||||
[
|
[
|
||||||
(number_literal)
|
(number_literal)
|
||||||
(yul_decimal_number)
|
(yul_decimal_number)
|
||||||
|
@ -20,6 +22,7 @@
|
||||||
[
|
[
|
||||||
(true)
|
(true)
|
||||||
(false)
|
(false)
|
||||||
|
(yul_boolean)
|
||||||
] @constant.builtin.boolean
|
] @constant.builtin.boolean
|
||||||
|
|
||||||
(comment) @comment
|
(comment) @comment
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue