mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Split func/method definition from calls in Go highlighting queries
This commit is contained in:
parent
576287ac84
commit
2f9ae24ffa
1 changed files with 2 additions and 2 deletions
|
|
@ -21,11 +21,11 @@
|
|||
; Function calls
|
||||
|
||||
(call_expression
|
||||
function: (identifier) @function)
|
||||
function: (identifier) @function.call)
|
||||
|
||||
(call_expression
|
||||
function: (selector_expression
|
||||
field: (field_identifier) @method))
|
||||
field: (field_identifier) @method.call))
|
||||
|
||||
; Function definitions
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue