Add functions high-lighting

This commit is contained in:
Bruno BELANYI 2022-06-03 19:59:56 +02:00
parent 67b555c381
commit 62a601469e
3 changed files with 22 additions and 2 deletions

View file

@ -48,6 +48,18 @@
] @punctuation.bracket
; }}}
; Functions {{{
(function_call
function: (identifier) @function)
(function_declaration
name: (identifier) @function)
(primitive_declaration
name: (identifier) @function)
(parameters
name: (identifier) @variable.parameter)
; }}}
; Misc {{{
(comment) @comment