Clean up mason_lspconfig

This commit is contained in:
2023-09-04 15:33:59 +02:00
parent 49eb427abf
commit 4bb3caab98
-10
View File
@@ -21,14 +21,4 @@ require("mason-lspconfig").setup({
-- This setting has no relation with the `automatic_installation` setting. -- This setting has no relation with the `automatic_installation` setting.
---@type string[] ---@type string[]
ensure_installed = require("lsp"):language_servers(), ensure_installed = require("lsp"):language_servers(),
-- 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" } }
---@type boolean
-- automatic_installation = true
}) })