mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 11:50:09 -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
|
; Function calls
|
||||||
|
|
||||||
(decorator) @function
|
(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])@!.*$"))
|
(#vim-match? @function "^([A-Z])@!.*$"))
|
||||||
|
|
||||||
(call
|
(call
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue