26 lines
565 B
Lua
26 lines
565 B
Lua
|
require('mason').setup({
|
||
|
ui = {
|
||
|
icons = {
|
||
|
package_installed = "✓",
|
||
|
package_pending = "➜",
|
||
|
package_uninstalled = "✗"
|
||
|
}
|
||
|
}
|
||
|
})
|
||
|
require('mason-lspconfig').setup({
|
||
|
ensure_installed = {"tsserver"}
|
||
|
})
|
||
|
|
||
|
require'mason-tool-installer'.setup {
|
||
|
ensure_installed = {
|
||
|
{ 'bash-language-server', auto_update = true },
|
||
|
'lua-language-server',
|
||
|
'vim-language-server',
|
||
|
'stylua',
|
||
|
'json-to-struct',
|
||
|
},
|
||
|
auto_update = false,
|
||
|
run_on_start = true,
|
||
|
start_delay = 3000
|
||
|
}
|