More specific loop keyword high-lighting

This commit is contained in:
Bruno BELANYI 2022-06-03 20:16:14 +02:00
parent b22ca8cd67
commit aff11eefce
2 changed files with 12 additions and 5 deletions

View file

@ -4,6 +4,13 @@
"primitive"
] @keyword.function
[
"do"
"for"
"to"
"while"
] @keyword.repeat
[
"array"
(break_expression)

View file

@ -28,13 +28,13 @@ in
/* ^ keyword */
for i := 12 to 27 do 42;
/* <- keyword */
/* ^ keyword */
/* ^ keyword */
/* <- keyword.repeat */
/* ^ keyword.repeat */
/* ^ keyword.repeat */
while 12 do break
/* <- keyword */
/* ^ keyword */
/* <- keyword.repeat */
/* ^ keyword.repeat */
/* ^ keyword */
end