mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 10:50:06 -04:00
fix(ruby): highlighting for string-literal symbols (#8317)
This commit is contained in:
parent
20db421f5f
commit
bfc6c99540
1 changed files with 5 additions and 1 deletions
|
|
@ -186,10 +186,14 @@
|
||||||
[
|
[
|
||||||
(bare_symbol)
|
(bare_symbol)
|
||||||
(simple_symbol)
|
(simple_symbol)
|
||||||
(delimited_symbol)
|
|
||||||
(hash_key_symbol)
|
(hash_key_symbol)
|
||||||
] @string.special.symbol
|
] @string.special.symbol
|
||||||
|
|
||||||
|
(delimited_symbol
|
||||||
|
":\"" @string.special.symbol
|
||||||
|
(string_content) @string.special.symbol
|
||||||
|
"\"" @string.special.symbol)
|
||||||
|
|
||||||
(regex
|
(regex
|
||||||
(string_content) @string.regexp)
|
(string_content) @string.regexp)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue