aboutsummaryrefslogtreecommitdiffstats
path: root/queries/python/highlights.scm
diff options
context:
space:
mode:
authorlfenzo <lfenzo@protonmail.com>2022-07-24 19:18:11 -0300
committerStephan Seitz <stephan.seitz@fau.de>2022-08-03 12:05:30 -0700
commitae87408513827fa653d749d5ff4cb0da184804e4 (patch)
treeb5380125542d0ce78fbd7cf0ae91317d9c1e0fb1 /queries/python/highlights.scm
parentAdded function/method call highlight groups (diff)
downloadnvim-treesitter-ae87408513827fa653d749d5ff4cb0da184804e4.tar
nvim-treesitter-ae87408513827fa653d749d5ff4cb0da184804e4.tar.gz
nvim-treesitter-ae87408513827fa653d749d5ff4cb0da184804e4.tar.bz2
nvim-treesitter-ae87408513827fa653d749d5ff4cb0da184804e4.tar.lz
nvim-treesitter-ae87408513827fa653d749d5ff4cb0da184804e4.tar.xz
nvim-treesitter-ae87408513827fa653d749d5ff4cb0da184804e4.tar.zst
nvim-treesitter-ae87408513827fa653d749d5ff4cb0da184804e4.zip
Split func/method definition from calls in python highlighting query
Diffstat (limited to 'queries/python/highlights.scm')
-rw-r--r--queries/python/highlights.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm
index 780e2a5c0..5e2c4de66 100644
--- a/queries/python/highlights.scm
+++ b/queries/python/highlights.scm
@@ -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)