aboutsummaryrefslogtreecommitdiffstats
path: root/queries/python/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'queries/python/highlights.scm')
-rw-r--r--queries/python/highlights.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm
index 93489a446..44230a3e2 100644
--- a/queries/python/highlights.scm
+++ b/queries/python/highlights.scm
@@ -20,7 +20,7 @@
((attribute
attribute: (identifier) @field)
- (#match? @field "^([A-Z])@!.*$"))
+ (#vim-match? @field "^([A-Z])@!.*$"))
((identifier) @type.builtin
(#vim-match? @type.builtin
@@ -31,7 +31,7 @@
(decorator) @function
((decorator (dotted_name (identifier) @function))
- (#match? @function "^([A-Z])@!.*$"))
+ (#vim-match? @function "^([A-Z])@!.*$"))
(call
function: (identifier) @function)
@@ -213,7 +213,7 @@
(assignment
left: (expression_list
(identifier) @field)))))
- (#match? @field "^([A-Z])@!.*$"))
+ (#vim-match? @field "^([A-Z])@!.*$"))
((class_definition
(block