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:
parent
5f38f649bd
commit
b22ca8cd67
|
@ -1,4 +1,9 @@
|
|||
; Keywords {{{
|
||||
[
|
||||
"function"
|
||||
"primitive"
|
||||
] @keyword.function
|
||||
|
||||
[
|
||||
"array"
|
||||
(break_expression)
|
||||
|
|
|
@ -5,9 +5,9 @@ let
|
|||
/* <- keyword */
|
||||
|
||||
function f() : int = a
|
||||
/* <- keyword */
|
||||
/* <- keyword.function */
|
||||
primitive g()
|
||||
/* <- keyword */
|
||||
/* <- keyword.function */
|
||||
|
||||
import "lib.tih"
|
||||
/* <- keyword */
|
||||
|
|
Loading…
Reference in a new issue