aboutsummaryrefslogtreecommitdiff
path: root/lua/config/mason.lua
diff options
context:
space:
mode:
authorTrey Bastian <hello@treybastian.com>2026-03-09 15:46:21 +0000
committerTrey Bastian <hello@treybastian.com>2026-03-09 15:46:21 +0000
commit544bd61c6408fe4b39eacad477382fdff022cd59 (patch)
tree68b90cfa5e508e94665f4e0fa38dc8e167e87873 /lua/config/mason.lua
parent6ad04b31b1b8c91f5f491d272a38d2eeeb56e3ca (diff)
go support
Diffstat (limited to 'lua/config/mason.lua')
-rw-r--r--lua/config/mason.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/lua/config/mason.lua b/lua/config/mason.lua
index 22f5d2c..4e89a26 100644
--- a/lua/config/mason.lua
+++ b/lua/config/mason.lua
@@ -64,5 +64,23 @@ require("mason-tool-installer").setup({
return vim.fn.executable("rustc") == 1
end,
},
+ {
+ "golangci-lint",
+ condition = function()
+ return vim.fn.executable("go") == 1
+ end,
+ },
+ {
+ "goimports",
+ condition = function()
+ return vim.fn.executable("go") == 1
+ end,
+ },
+ {
+ "delve",
+ condition = function()
+ return vim.fn.executable("go") == 1
+ end,
+ },
},
})