1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-25 07:30:04 +08:00
SpaceVim/bundle/nvim-treesitter/tests/query/highlights/tiger/keywords.tig

43 lines
686 B
Plaintext
Raw Normal View History

let
/* <- keyword */
var a := 12
/* <- keyword */
function f() : int = a
/* <- keyword.function */
primitive g()
/* <- keyword.function */
import "lib.tih"
/* <- keyword */
type array_of_int = array of int
/* <- keyword */
/* ^ keyword */
/* ^ keyword */
in
/* <- keyword */
12;
if 12 then 27 else 42;
/* <- keyword */
/* ^ keyword */
/* ^ keyword */
for i := 12 to 27 do 42;
/* <- repeat */
/* ^ repeat */
/* ^ repeat */
while 12 do break
/* <- repeat */
/* ^ repeat */
/* ^ keyword */
end
/* <- keyword */
/* vim: set ft=tiger: */