mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 09:50:04 -04:00
Ruby highlights: symbol -> simple_symbol, hash_key_symbol, delimited_symbol
Account for https://github.com/tree-sitter/tree-sitter-ruby/pull/152
This commit is contained in:
parent
76447498b9
commit
99ecb46592
1 changed files with 4 additions and 2 deletions
|
|
@ -138,10 +138,12 @@
|
||||||
(bare_symbol)
|
(bare_symbol)
|
||||||
(heredoc_beginning)
|
(heredoc_beginning)
|
||||||
(heredoc_end)
|
(heredoc_end)
|
||||||
(symbol)
|
(simple_symbol)
|
||||||
|
(delimited_symbol)
|
||||||
|
(hash_key_symbol)
|
||||||
] @constant
|
] @constant
|
||||||
|
|
||||||
(pair key: (symbol) ":" @constant)
|
(pair key: (hash_key_symbol) ":" @constant)
|
||||||
(regex) @string.regex
|
(regex) @string.regex
|
||||||
(escape_sequence) @string.escape
|
(escape_sequence) @string.escape
|
||||||
(integer) @number
|
(integer) @number
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue