mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 09:50:04 -04:00
Highlight function and macro declarations
This commit is contained in:
parent
21a78dbd47
commit
a267604b8f
1 changed files with 12 additions and 0 deletions
|
|
@ -38,3 +38,15 @@
|
||||||
(endwhile)
|
(endwhile)
|
||||||
] @repeat
|
] @repeat
|
||||||
|
|
||||||
|
(function_command
|
||||||
|
(function)
|
||||||
|
. (argument) @function
|
||||||
|
(argument)* @parameter
|
||||||
|
)
|
||||||
|
|
||||||
|
(macro_command
|
||||||
|
(macro)
|
||||||
|
. (argument) @function.macro
|
||||||
|
(argument)* @parameter
|
||||||
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue