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 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])@!.*$"))
|
||||
|
||||
(call
|
||||
function: (identifier) @function)
|
||||
function: (identifier) @function.call)
|
||||
|
||||
(call
|
||||
function: (attribute
|
||||
attribute: (identifier) @method))
|
||||
attribute: (identifier) @method.call))
|
||||
|
||||
((call
|
||||
function: (identifier) @constructor)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue