aboutsummaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/queries/gotmpl/highlights.scm9
1 files changed, 8 insertions, 1 deletions
diff --git a/runtime/queries/gotmpl/highlights.scm b/runtime/queries/gotmpl/highlights.scm
index 4ee768c28..80c977717 100644
--- a/runtime/queries/gotmpl/highlights.scm
+++ b/runtime/queries/gotmpl/highlights.scm
@@ -59,7 +59,6 @@
[
"if"
"else"
- "else if"
"end"
] @keyword.conditional
(#set! priority 110))
@@ -98,6 +97,14 @@
] @keyword.conditional
(#set! priority 110))
+(continue_action
+ "continue" @keyword.repeat
+ (#set! priority 110))
+
+(break_action
+ "break" @keyword.repeat
+ (#set! priority 110))
+
; Literals
([
(interpreted_string_literal)