mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 01:10:02 -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
|
(method_declaration
|
||||||
name: (identifier) @method)
|
name: (identifier) @method)
|
||||||
|
|
||||||
(invocation_expression
|
; This would be nice but fails in some cases
|
||||||
(member_access_expression
|
; https://github.com/nvim-treesitter/nvim-treesitter/pull/203
|
||||||
name: (identifier) @method))
|
; (invocation_expression
|
||||||
|
; (member_access_expression
|
||||||
|
; name: (identifier) @method))
|
||||||
|
|
||||||
(invocation_expression
|
; (invocation_expression
|
||||||
(identifier) @method)
|
; (identifier) @method)
|
||||||
|
|
||||||
((identifier) @field
|
((identifier) @field
|
||||||
(#match? @field "^_"))
|
(#match? @field "^_"))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue