mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 19:46:58 -04:00
Highlight function and macro declarations
This commit is contained in:
parent
ac6fbc71ca
commit
610bbc4e89
1 changed files with 12 additions and 0 deletions
|
|
@ -38,3 +38,15 @@
|
|||
(endwhile)
|
||||
] @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