mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Python: fix some highlights
These aren't valid lua patterns
This commit is contained in:
parent
761faf23b7
commit
fe8d91b748
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue