From d7bc1d97a9d17f1ae5b40e4600a64d7a6ce020da Mon Sep 17 00:00:00 2001 From: mightypanders Date: Tue, 23 Aug 2022 16:07:46 +0200 Subject: [PATCH] add mason config --- nvim/lua/mason_config.lua | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 nvim/lua/mason_config.lua 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 +}