Python: fix some highlights

These aren't valid lua patterns
This commit is contained in:
Santos Gallegos 2020-08-18 10:31:42 -05:00
parent 761faf23b7
commit fe8d91b748

View file

@ -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