Merge pull request #324 from stsewd/python-fix

Python: fix some highlights
This commit is contained in:
Steven Sojka 2020-08-18 10:38:06 -05:00 committed by GitHub
commit 393900b387
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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