diff options
| author | Kyren223 <ulmliad223@gmail.com> | 2024-07-23 19:53:55 +0300 |
|---|---|---|
| committer | Kyren223 <ulmliad223@gmail.com> | 2024-07-23 19:53:55 +0300 |
| commit | f7e480cd62e58e913bfb0a93f36f4dca026352e5 (patch) | |
| tree | 1dd98d7911acf2f2222d23cd267e22e41f1e12f8 /.config/nvim/lua/custom/configs/mason.lua | |
| parent | 09623783f8b2c5bf6fa3aa490f973d36080df907 (diff) | |
refactor(neovim): renamed custom/configs -> custom/config
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 - }, -}) |
