From 6de5ceba03255a48d6640a27c768442452e3aeba Mon Sep 17 00:00:00 2001 From: Amaan Qureshi Date: Tue, 30 May 2023 00:09:37 -0400 Subject: [PATCH] fix(go): properly highlight chan/map (#4875) --- queries/go/highlights.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/queries/go/highlights.scm b/queries/go/highlights.scm index b417dd375..4569ec086 100644 --- a/queries/go/highlights.scm +++ b/queries/go/highlights.scm @@ -129,12 +129,13 @@ ;; Builtin types +[ "chan" "map" ] @type.builtin + ((type_identifier) @type.builtin (#any-of? @type.builtin "any" "bool" "byte" - "chan" "comparable" "complex128" "complex64" @@ -146,7 +147,6 @@ "int32" "int64" "int8" - "map" "rune" "string" "uint"