chore(solidity): add highlight queries (#12102)

Add highlights for `hex` and `unicode` string prefixes and YUL booleans
This commit is contained in:
Valentin B. 2024-11-21 14:58:14 +01:00 committed by GitHub
parent b8313da5a8
commit 9e0d2d0a19
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,6 +12,8 @@
(unicode_string_literal)
(yul_string_literal)
] @string
(hex_string_literal "hex" @string.special.symbol)
(unicode_string_literal "unicode" @string.special.symbol)
[
(number_literal)
(yul_decimal_number)
@ -20,6 +22,7 @@
[
(true)
(false)
(yul_boolean)
] @constant.builtin.boolean
(comment) @comment