Add meta-variable keywords high-lighting
This commit is contained in:
parent
572dab6f4b
commit
869b0bf79a
|
@ -41,6 +41,12 @@
|
|||
"type"
|
||||
"var"
|
||||
"while"
|
||||
|
||||
"_cast"
|
||||
"_chunks"
|
||||
"_exp"
|
||||
"_lvalue"
|
||||
"_namety"
|
||||
] @keyword
|
||||
; }}}
|
||||
|
||||
|
|
13
test/highlight/meta-variables.tig
Normal file
13
test/highlight/meta-variables.tig
Normal file
|
@ -0,0 +1,13 @@
|
|||
let
|
||||
_chunks(42)
|
||||
/* <- keyword */
|
||||
|
||||
in
|
||||
_lvalue(12) : _namety(42) := _cast("I'm So Meta Even This Acronym", string);
|
||||
/* <- keyword */
|
||||
/* ^ keyword */
|
||||
/* ^ keyword */
|
||||
|
||||
_exp(42)
|
||||
/* <- keyword */
|
||||
end
|
Loading…
Reference in a new issue