aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--queries/go/highlights.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/queries/go/highlights.scm b/queries/go/highlights.scm
index 07c788ec7..ccd094f2f 100644
--- a/queries/go/highlights.scm
+++ b/queries/go/highlights.scm
@@ -196,6 +196,9 @@
(false) @boolean
(nil) @constant.builtin
+(keyed_element
+ . (literal_element (identifier) @field))
+
(comment) @comment
(ERROR) @error