Split func/method definition from calls in python highlighting query

This commit is contained in:
lfenzo 2022-07-24 19:18:11 -03:00 committed by Stephan Seitz
parent a51ef77674
commit ae87408513

View file

@ -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)