blob: 91952e4ffe0458a6fba477027b859fb5ace9a877 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
local status, mason = pcall(require, 'mason')
if (not status) then return end
local status2, masonlspconfig = pcall(require, 'mason-lspconfig')
if (not status2) then return end
mason.setup({
ui = {
icons = {
package_installed = "✓",
package_pending = "➜",
package_uninstalled = "✗"
}
}
})
masonlspconfig.setup {
ensure_installed = {},
-- false: Servers are not automatically installed.
-- true: All servers set up via lspconfig are automatically installed.
automatic_installation = false,
}
|