mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 17:30:08 -04:00
fix(highlights): improve member/property distinction
This commit is contained in:
parent
2f38c36294
commit
fa38f4e6f9
34 changed files with 106 additions and 95 deletions
|
|
@ -122,7 +122,7 @@
|
|||
[
|
||||
(class_variable)
|
||||
(instance_variable)
|
||||
] @label
|
||||
] @variable.member
|
||||
|
||||
((identifier) @constant.builtin
|
||||
(#any-of? @constant.builtin "__callee__" "__dir__" "__id__" "__method__" "__send__" "__ENCODING__" "__FILE__" "__LINE__"))
|
||||
|
|
@ -176,7 +176,7 @@
|
|||
[
|
||||
(heredoc_beginning)
|
||||
(heredoc_end)
|
||||
] @constant
|
||||
] @label
|
||||
|
||||
[
|
||||
(bare_symbol)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue