summaryrefslogtreecommitdiff
path: root/queries/go/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'queries/go/highlights.scm')
-rw-r--r--queries/go/highlights.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/queries/go/highlights.scm b/queries/go/highlights.scm
index 9bd831fa..c076b774 100644
--- a/queries/go/highlights.scm
+++ b/queries/go/highlights.scm
@@ -94,7 +94,6 @@
"interface"
"map"
"range"
- "return"
"select"
"struct"
"type"
@@ -102,6 +101,10 @@
"fallthrough"
] @keyword
+[
+ "return"
+] @keyword.return
+
"for" @repeat
[