summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins/mason.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/plugins/mason.lua')
-rw-r--r--.config/nvim/lua/plugins/mason.lua38
1 files changed, 38 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/mason.lua b/.config/nvim/lua/plugins/mason.lua
new file mode 100644
index 0000000..9bbb01b
--- /dev/null
+++ b/.config/nvim/lua/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
+ },
+ },
+ },
+}