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