Try to tweak auto-installed Mason LSPs

This commit is contained in:
Ben Kreeger 2025-09-27 19:52:40 -05:00
parent 41f01fed2c
commit 65d8bc495d
Signed by: kreeger
GPG Key ID: D5CF8683D4BE4B50

View File

@ -2,18 +2,18 @@ local mason_lsps = {
-- LSPs
"jsonls",
"lua_ls",
"ruby_lsp",
"rubocop",
-- "ruby_lsp",
-- "rubocop",
"rust_analyzer",
"terraformls",
"ts_ls",
"yamlls",
-- Formatters
"fixjson",
"goimports",
"hclfmt",
"prettierd",
"shellharden",
-- "fixjson",
-- "goimports",
-- "hclfmt",
-- "prettierd",
-- "shellharden",
"stylua",
}
@ -22,19 +22,19 @@ local non_mason_lsps = {
}
return {
{
"WhoIsSethDaniel/mason-tool-installer.nvim",
dependencies = {
"mason-org/mason-lspconfig.nvim",
},
opts = {
ensure_installed = mason_lsps,
},
},
-- {
-- "WhoIsSethDaniel/mason-tool-installer.nvim",
-- dependencies = {
-- "mason-org/mason-lspconfig.nvim",
-- },
-- opts = {
-- ensure_installed = mason_lsps,
-- },
-- },
{
"mason-org/mason-lspconfig.nvim",
opts = {
ensure_installed = {},
ensure_installed = mason_lsps,
automatic_enable = true,
automatic_installation = false,
},