mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-11 07:50:07 -04:00
Split func/method definition from calls in python highlighting query
This commit is contained in:
parent
a51ef77674
commit
ae87408513
1 changed files with 2 additions and 2 deletions
|
|
@ -56,11 +56,11 @@
|
||||||
(#match? @function "^([A-Z])@!.*$"))
|
(#match? @function "^([A-Z])@!.*$"))
|
||||||
|
|
||||||
(call
|
(call
|
||||||
function: (identifier) @function)
|
function: (identifier) @function.call)
|
||||||
|
|
||||||
(call
|
(call
|
||||||
function: (attribute
|
function: (attribute
|
||||||
attribute: (identifier) @method))
|
attribute: (identifier) @method.call))
|
||||||
|
|
||||||
((call
|
((call
|
||||||
function: (identifier) @constructor)
|
function: (identifier) @constructor)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue