mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 17:00:09 -04:00
update: add function.method.call
This commit is contained in:
parent
a9b31418e6
commit
b3869a7ba0
2 changed files with 11 additions and 0 deletions
|
|
@ -135,3 +135,7 @@
|
||||||
|
|
||||||
(invocation
|
(invocation
|
||||||
(identifier) @function.call)
|
(identifier) @function.call)
|
||||||
|
|
||||||
|
(invocation
|
||||||
|
(refinement
|
||||||
|
property: (property_identifier) @function.method.call))
|
||||||
|
|
|
||||||
|
|
@ -140,3 +140,10 @@ name(42)
|
||||||
# ^ punctuation.bracket
|
# ^ punctuation.bracket
|
||||||
# ^ number
|
# ^ number
|
||||||
# ^ punctuation.bracket
|
# ^ punctuation.bracket
|
||||||
|
|
||||||
|
name.name()
|
||||||
|
# <- variable
|
||||||
|
# ^ punctuation.delimiter
|
||||||
|
# ^ function.method.call
|
||||||
|
# ^ punctuation.bracket
|
||||||
|
# ^ punctuation.bracket
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue