mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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)
|
||||
(heredoc_beginning)
|
||||
(heredoc_end)
|
||||
(symbol)
|
||||
(simple_symbol)
|
||||
(delimited_symbol)
|
||||
(hash_key_symbol)
|
||||
] @constant
|
||||
|
||||
(pair key: (symbol) ":" @constant)
|
||||
(pair key: (hash_key_symbol) ":" @constant)
|
||||
(regex) @string.regex
|
||||
(escape_sequence) @string.escape
|
||||
(integer) @number
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue