nvim/lua/plugins/mason-lspconfig.lua

34 lines
1.2 KiB
Lua
Raw Permalink Normal View History

2023-02-12 09:18:25 +00:00
return {
config = {
2023-02-26 17:14:08 +00:00
--ensure_installed = {
--"bashls",
--"pyright",
--"pylsp",
--"ruff_lsp",
----"pyre",
--"perlnavigator",
--"dockerls",
--"intelephense",
--"eslint",
--"tsserver",
--"cssls",
--"cssmodules_ls",
--"jsonls",
--"lua_ls",
--"sqlls",
--"yamlls",
--"lemminx",
--"marksman",
--"html",
--},
-- Whether servers that are set up (via lspconfig) should be automatically installed if they're not already installed.
-- This setting has no relation with the `ensure_installed` setting.
-- Can either be:
-- - false: Servers are not automatically installed.
-- - true: All servers set up via lspconfig are automatically installed.
-- - { exclude: string[] }: All servers set up via lspconfig, except the ones provided in the list, are automatically installed.
-- Example: automatic_installation = { exclude = { "rust_analyzer", "solargraph" } }
2023-02-23 20:49:48 +00:00
automatic_installation = true,
2023-02-12 09:18:25 +00:00
}
}