aboutsummaryrefslogtreecommitdiff
path: root/lua/pml68
diff options
context:
space:
mode:
authorpml68 <pml31@protonmail.com>2024-04-24 10:10:00 +0200
committerpml68 <pml31@protonmail.com>2024-04-24 10:10:00 +0200
commit468f486203b74e89edf40bd67c27b7f68ea38729 (patch)
tree6e07b6b4f6c5b38dc478bd9495c47ffb84bcac27 /lua/pml68
parentstyle: fix indenting part 2 (diff)
downloadnvim-468f486203b74e89edf40bd67c27b7f68ea38729.tar.gz
feat: automatically install Mason extras on first run
Diffstat (limited to 'lua/pml68')
-rw-r--r--lua/pml68/plugins.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/lua/pml68/plugins.lua b/lua/pml68/plugins.lua
index 08cb32f..4e4b440 100644
--- a/lua/pml68/plugins.lua
+++ b/lua/pml68/plugins.lua
@@ -123,12 +123,13 @@ local plugins = {
require("mason").setup(opts)
vim.api.nvim_create_user_command("MasonInstallAll",function()
if opts.ensure_installed and #opts.ensure_installed > 0 then
- vim.cmd("MasonInstall"..table.concat(opts.ensure_installed,""))
+ vim.cmd("MasonInstall " .. table.concat(opts.ensure_installed," "))
end
end,{})
vim.g.mason_binaries_list = opts.ensure_installed
- end
+ end,
+ build = ":MasonInstallAll",
},
--Fuzzyfinder
{