feat(lsp): reimplement automatic installation of language servers

This commit is contained in:
2024-02-27 17:20:51 +01:00
parent 68bf1acad0
commit db9888963a
15 changed files with 194 additions and 173 deletions
-12
View File
@@ -1,12 +0,0 @@
-- https://github.com/williamboman/mason-lspconfig.nvim
local function setup()
require("mason-lspconfig").setup({
-- A list of servers to automatically install if they're not already installed. Example: { "rust_analyzer@nightly", "lua_ls" }
-- This setting has no relation with the `automatic_installation` setting.
---@type string[]
ensure_installed = require("lsp").language_servers(),
})
end
return setup
-7
View File
@@ -1,7 +0,0 @@
-- https://github.com/RubixDev/mason-update-all
local function setup()
require("mason-update-all").setup()
end
return setup