More specific function keyword high-lighting

I learnt about this group by reading the nvim-treesitter source [1].

[1]: see 'lua/nvim-treesitter/highlight.lua'
This commit is contained in:
Bruno BELANYI 2022-06-03 20:15:09 +02:00
parent 5f38f649bd
commit b22ca8cd67
2 changed files with 7 additions and 2 deletions

View file

@ -1,4 +1,9 @@
; Keywords {{{
[
"function"
"primitive"
] @keyword.function
[
"array"
(break_expression)

View file

@ -5,9 +5,9 @@ let
/* <- keyword */
function f() : int = a
/* <- keyword */
/* <- keyword.function */
primitive g()
/* <- keyword */
/* <- keyword.function */
import "lib.tih"
/* <- keyword */