From 4fab147eff5e6c46bd3aacfea79004fba7cfdcfb Mon Sep 17 00:00:00 2001 From: Harivansh Rathi Date: Wed, 8 Apr 2026 20:32:36 -0400 Subject: [PATCH] update --- lua/cozybox.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lua/cozybox.lua b/lua/cozybox.lua index 438a134..4c486d8 100644 --- a/lua/cozybox.lua +++ b/lua/cozybox.lua @@ -1366,6 +1366,10 @@ local function get_groups() ["@lsp.type.type"] = { link = "@type" }, ["@lsp.type.typeParameter"] = { link = "@type.definition" }, ["@lsp.type.variable"] = { link = "@variable" }, + -- Go: gopls emits struct fields as "variable" and interface methods as "method" + -- Override per-language so they get colored rather than falling to plain fg + ["@lsp.type.variable.go"] = { link = "@variable.member" }, + ["@lsp.type.method.go"] = { link = "@function" }, -- NeoTreeDirectoryName = { link = "Directory" }, -- NeoTreeDotfile = { fg = colors.fg4 },