add mason config
This commit is contained in:
parent
80812fba63
commit
d7bc1d97a9
25
nvim/lua/mason_config.lua
Normal file
25
nvim/lua/mason_config.lua
Normal file
@ -0,0 +1,25 @@
|
||||
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
|
||||
}
|
Loading…
Reference in New Issue
Block a user