summaryrefslogtreecommitdiff
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
parent6c5f4b1b49aa2e6f948fb58fb9df82954bebf488 (diff)
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 533233e4..0813c960 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"