clean config & rm un-needed pcalls

This commit is contained in:
siduck
2023-01-25 20:11:55 +05:30
parent ff93c22e63
commit 2b94bb92e0
9 changed files with 27 additions and 131 deletions

View File

@@ -1,9 +1,3 @@
local present, mason = pcall(require, "mason")
if not present then
return
end
loadfile(vim.g.base46_cache .. "mason")()
local options = {
@@ -39,4 +33,4 @@ vim.api.nvim_create_user_command("MasonInstallAll", function()
vim.cmd("MasonInstall " .. table.concat(options.ensure_installed, " "))
end, {})
mason.setup(options)
require("mason").setup(options)