Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/go/highlights.scm')
-rw-r--r--runtime/queries/go/highlights.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/runtime/queries/go/highlights.scm b/runtime/queries/go/highlights.scm
index 0f9be048..32c6c2cb 100644
--- a/runtime/queries/go/highlights.scm
+++ b/runtime/queries/go/highlights.scm
@@ -114,6 +114,12 @@
] @keyword
[
+ "defer"
+ "go"
+ "goto"
+] @keyword.control
+
+[
"if"
"else"
"switch"
@@ -154,12 +160,6 @@
"const"
] @keyword.storage.modifier
-[
- "defer"
- "goto"
- "go"
-] @function.macro
-
; Delimiters
[