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
attribute: (identifier) @field) attribute: (identifier) @field)
(#match? @field "^([A-Z])@!.*$")) (#vim-match? @field "^([A-Z])@!.*$"))
((identifier) @type.builtin ((identifier) @type.builtin
(#vim-match? @type.builtin (#vim-match? @type.builtin
@ -31,7 +31,7 @@
(decorator) @function (decorator) @function
((decorator (dotted_name (identifier) @function)) ((decorator (dotted_name (identifier) @function))
(#match? @function "^([A-Z])@!.*$")) (#vim-match? @function "^([A-Z])@!.*$"))
(call (call
function: (identifier) @function) function: (identifier) @function)
@ -213,7 +213,7 @@
(assignment (assignment
left: (expression_list left: (expression_list
(identifier) @field))))) (identifier) @field)))))
(#match? @field "^([A-Z])@!.*$")) (#vim-match? @field "^([A-Z])@!.*$"))
((class_definition ((class_definition
(block (block