aboutsummaryrefslogtreecommitdiffstats
path: root/queries/python
diff options
context:
space:
mode:
authorSantos Gallegos <stsewd@protonmail.com>2021-12-22 13:26:55 -0500
committerStephan Seitz <stephan.seitz@fau.de>2021-12-22 21:17:28 +0100
commit56634f49ab3d8122153c8c5582c581fb6a6af075 (patch)
treea3a131d8e96a5f219193d1e728d2a7ce0ab991aa /queries/python
parentMarkdown: update queries (diff)
downloadnvim-treesitter-56634f49ab3d8122153c8c5582c581fb6a6af075.tar
nvim-treesitter-56634f49ab3d8122153c8c5582c581fb6a6af075.tar.gz
nvim-treesitter-56634f49ab3d8122153c8c5582c581fb6a6af075.tar.bz2
nvim-treesitter-56634f49ab3d8122153c8c5582c581fb6a6af075.tar.lz
nvim-treesitter-56634f49ab3d8122153c8c5582c581fb6a6af075.tar.xz
nvim-treesitter-56634f49ab3d8122153c8c5582c581fb6a6af075.tar.zst
nvim-treesitter-56634f49ab3d8122153c8c5582c581fb6a6af075.zip
Update queries
- Don't use the old form for predicates - Update some invalid queries
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 533233e48..0813c960b 100644
--- a/queries/python/highlights.scm
+++ b/queries/python/highlights.scm
@@ -75,7 +75,7 @@
((call
function: (identifier) @function.builtin)
- (any-of? @function.builtin
+ (#any-of? @function.builtin
"abs" "all" "any" "ascii" "bin" "bool" "breakpoint" "bytearray" "bytes" "callable" "chr" "classmethod"
"compile" "complex" "delattr" "dict" "dir" "divmod" "enumerate" "eval" "exec" "filter" "float" "format"
"frozenset" "getattr" "globals" "hasattr" "hash" "help" "hex" "id" "input" "int" "isinstance" "issubclass"