aboutsummaryrefslogtreecommitdiffstats
path: root/queries
diff options
context:
space:
mode:
Diffstat (limited to 'queries')
-rw-r--r--queries/go/highlights.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/queries/go/highlights.scm b/queries/go/highlights.scm
index 05c491eb2..b417dd375 100644
--- a/queries/go/highlights.scm
+++ b/queries/go/highlights.scm
@@ -35,8 +35,8 @@
(method_declaration
name: (field_identifier) @method)
-(method_spec
- name: (field_identifier) @method)
+(method_spec
+ name: (field_identifier) @method)
; Constructors
@@ -163,6 +163,7 @@
(#any-of? @function.builtin
"append"
"cap"
+ "clear"
"close"
"complex"
"copy"