mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Python highlights: update definition of decorator
This commit is contained in:
parent
1cf7a1ddc9
commit
b441f257a4
1 changed files with 4 additions and 1 deletions
|
|
@ -33,7 +33,10 @@
|
|||
; Function calls
|
||||
|
||||
(decorator) @function
|
||||
((decorator (dotted_name (identifier) @function))
|
||||
((decorator (attribute (identifier) @function))
|
||||
(#vim-match? @function "^([A-Z])@!.*$"))
|
||||
(decorator) @function
|
||||
((decorator (identifier) @function)
|
||||
(#vim-match? @function "^([A-Z])@!.*$"))
|
||||
|
||||
(call
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue