Add meta-variable keywords high-lighting
This commit is contained in:
parent
572dab6f4b
commit
869b0bf79a
2 changed files with 19 additions and 0 deletions
|
|
@ -41,6 +41,12 @@
|
||||||
"type"
|
"type"
|
||||||
"var"
|
"var"
|
||||||
"while"
|
"while"
|
||||||
|
|
||||||
|
"_cast"
|
||||||
|
"_chunks"
|
||||||
|
"_exp"
|
||||||
|
"_lvalue"
|
||||||
|
"_namety"
|
||||||
] @keyword
|
] @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…
Add table
Add a link
Reference in a new issue