summaryrefslogtreecommitdiffstats
path: root/after/plugin/masontool.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--after/plugin/masontool.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/after/plugin/masontool.lua b/after/plugin/masontool.lua
new file mode 100644
index 0000000..ee9d012
--- /dev/null
+++ b/after/plugin/masontool.lua
@@ -0,0 +1,18 @@
+local status_ok, masontool = pcall(require, "mason-tool-installer")
+if not status_ok then
+ return
+end
+
+masontool.setup {
+ -- a list of all tools you want to ensure are installed upon
+ -- start; they should be the names Mason uses for each tool
+ ensure_installed = {
+ 'lua-language-server',
+ 'stylua',
+ 'shellcheck',
+ 'editorconfig-checker',
+ 'shfmt',
+ 'clangd',
+ 'clang-format',
+ },
+}