From fe8d91b748d6f250434f1227a2b2837b09b134ae Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Tue, 18 Aug 2020 10:31:42 -0500 Subject: Python: fix some highlights These aren't valid lua patterns --- queries/python/highlights.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'queries/python') 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 -- cgit v1.2.3-70-g09d2