add mason config

This commit is contained in:
mightypanders 2022-08-23 16:07:46 +02:00
parent 80812fba63
commit d7bc1d97a9

25
nvim/lua/mason_config.lua Normal file
View 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
}