diff options
| author | Kyren223 <ulmliad223@gmail.com> | 2024-08-04 01:01:44 +0300 |
|---|---|---|
| committer | Kyren223 <ulmliad223@gmail.com> | 2024-08-04 01:01:44 +0300 |
| commit | 929b1530529390935b0ea9ad888f6f78128ce222 (patch) | |
| tree | 0a3e65703dee0d1a12ebd220f9b93ffd77d57ab3 /.config/nvim/lua/custom/plugins/mason.lua | |
| parent | 74f5f270a38dce35f481ae29822db6d4663f8875 (diff) | |
refactor(nvim): moved mason to it's own file out of lspconfig
Diffstat (limited to '.config/nvim/lua/custom/plugins/mason.lua')
| -rw-r--r-- | .config/nvim/lua/custom/plugins/mason.lua | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/.config/nvim/lua/custom/plugins/mason.lua b/.config/nvim/lua/custom/plugins/mason.lua new file mode 100644 index 0000000..a87318a --- /dev/null +++ b/.config/nvim/lua/custom/plugins/mason.lua @@ -0,0 +1,38 @@ +return { + { + 'williamboman/mason.nvim', + lazy = false, + opts = { + ui = { + icons = { + package_installed = '✓', + package_pending = '➜', + package_uninstalled = '✗', + }, + }, + }, + }, + { + 'WhoIsSethDaniel/mason-tool-installer.nvim', + lazy = false, + opts = { + ensure_installed = { + 'stylua', -- lua formatting + 'clang-format', -- C/C++ formatter + 'codelldb', -- C/C++ debugger + 'cpplint', -- C/C++ linter + 'black', -- python formatter + 'isort', -- python formatter for imports + 'flake8', -- python linter + 'gofumpt', -- go formatter + 'golangci-lint', -- go linter + 'prettierd', -- multi-lang formatter + 'prettier', -- prettierd but slower, used as a fallback + 'jq', -- json formatter + 'jsonlint', -- json linter + 'shellcheck', -- bash linter + 'beautysh', -- shell formatter + }, + }, + }, +} |
