diff --git a/nvim/lua/mason_config.lua b/nvim/lua/mason_config.lua new file mode 100644 index 0000000..75b86fc --- /dev/null +++ b/nvim/lua/mason_config.lua @@ -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 +}