mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
Commenting out the attempt to highlight method calls for now
This commit is contained in:
parent
5db4bb1b3f
commit
2391930b70
1 changed files with 7 additions and 5 deletions
|
|
@ -2,12 +2,14 @@
|
|||
(method_declaration
|
||||
name: (identifier) @method)
|
||||
|
||||
(invocation_expression
|
||||
(member_access_expression
|
||||
name: (identifier) @method))
|
||||
; This would be nice but fails in some cases
|
||||
; https://github.com/nvim-treesitter/nvim-treesitter/pull/203
|
||||
; (invocation_expression
|
||||
; (member_access_expression
|
||||
; name: (identifier) @method))
|
||||
|
||||
(invocation_expression
|
||||
(identifier) @method)
|
||||
; (invocation_expression
|
||||
; (identifier) @method)
|
||||
|
||||
((identifier) @field
|
||||
(#match? @field "^_"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue