diff options
| author | Amaan Qureshi <amaanq12@gmail.com> | 2023-05-30 00:09:37 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-30 00:09:37 -0400 |
| commit | 6de5ceba03255a48d6640a27c768442452e3aeba (patch) | |
| tree | 60eeb15c179a45fcba1d3857e07c05bee12586fc /queries/go | |
| parent | chore: update skipped langs in ci (diff) | |
| download | nvim-treesitter-6de5ceba03255a48d6640a27c768442452e3aeba.tar nvim-treesitter-6de5ceba03255a48d6640a27c768442452e3aeba.tar.gz nvim-treesitter-6de5ceba03255a48d6640a27c768442452e3aeba.tar.bz2 nvim-treesitter-6de5ceba03255a48d6640a27c768442452e3aeba.tar.lz nvim-treesitter-6de5ceba03255a48d6640a27c768442452e3aeba.tar.xz nvim-treesitter-6de5ceba03255a48d6640a27c768442452e3aeba.tar.zst nvim-treesitter-6de5ceba03255a48d6640a27c768442452e3aeba.zip | |
fix(go): properly highlight chan/map (#4875)
Diffstat (limited to 'queries/go')
| -rw-r--r-- | queries/go/highlights.scm | 4 |
1 files 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" |
