diff options
Diffstat (limited to '.config/nvim/lua/custom/configs/mason.lua')
| -rw-r--r-- | .config/nvim/lua/custom/configs/mason.lua | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/.config/nvim/lua/custom/configs/mason.lua b/.config/nvim/lua/custom/configs/mason.lua deleted file mode 100644 index d7a537b..0000000 --- a/.config/nvim/lua/custom/configs/mason.lua +++ /dev/null @@ -1,33 +0,0 @@ --- NOTE: Not language servers but still make sure mason installs them -local ensure_installed = { - stylua = true, -- lua formatting -} -local servers = require('custom.configs.language-servers') - -require('mason').setup({ - ui = { - icons = { - package_installed = '✓', - package_pending = '➜', - package_uninstalled = '✗', - }, - }, -}) - -local servers_to_install = vim.tbl_filter(function(key) - local server = servers[key] - if type(server) == 'table' then - return true - else - return server - end -end, vim.tbl_keys(servers)) - -vim.list_extend(ensure_installed, servers_to_install) -require('mason-lspconfig').setup({ ensure_installed = servers_to_install }) - -require('mason-tool-installer').setup({ - ensure_installed = { - 'stylua', -- lua formatter - }, -}) |
