aboutsummaryrefslogtreecommitdiffstats
path: root/queries/python
diff options
context:
space:
mode:
authorvsajko <vsajko@gmail.com>2024-03-30 00:30:13 +0100
committerGitHub <noreply@github.com>2024-03-30 01:30:13 +0200
commitc65413f2ac20d1d4b91fe4eb32d9d25525b34b83 (patch)
treeef9f91da2e4000e4e987d9f6e253684367b1a88f /queries/python
parentfeat(liquid): add new parser tree-sitter-liquid (#6359) (diff)
downloadnvim-treesitter-c65413f2ac20d1d4b91fe4eb32d9d25525b34b83.tar
nvim-treesitter-c65413f2ac20d1d4b91fe4eb32d9d25525b34b83.tar.gz
nvim-treesitter-c65413f2ac20d1d4b91fe4eb32d9d25525b34b83.tar.bz2
nvim-treesitter-c65413f2ac20d1d4b91fe4eb32d9d25525b34b83.tar.lz
nvim-treesitter-c65413f2ac20d1d4b91fe4eb32d9d25525b34b83.tar.xz
nvim-treesitter-c65413f2ac20d1d4b91fe4eb32d9d25525b34b83.tar.zst
nvim-treesitter-c65413f2ac20d1d4b91fe4eb32d9d25525b34b83.zip
fix(python): add staticmethod to builtin decorators
Diffstat (limited to 'queries/python')
-rw-r--r--queries/python/highlights.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm
index d35f7307c..4d62aeff0 100644
--- a/queries/python/highlights.scm
+++ b/queries/python/highlights.scm
@@ -79,7 +79,7 @@
((decorator
(identifier) @attribute.builtin)
- (#any-of? @attribute.builtin "classmethod" "property"))
+ (#any-of? @attribute.builtin "classmethod" "property" "staticmethod"))
; Builtin functions
((call