temporarily silence dofile syntax error during bootstrap

we need to find a way to fetch base46 first and then rest of the plugins (during bootstrap)
pull/1824/head
siduck 1 year ago
parent caeec36191
commit 8eaa3666dd

@ -40,6 +40,7 @@ M.gen_chadrc_template = function()
"https://github.com/NvChad/example_config",
vim.fn.stdpath "config" .. "/lua/custom",
}
print "dont forget to read docs from nvchad.com!"
vim.cmd "redraw|echo ''"
-- delete .git from that repo

@ -81,7 +81,7 @@ local default_plugins = {
return require "plugins.configs.treesitter"
end,
config = function(_, opts)
dofile(vim.g.base46_cache .. "syntax")
pcall(dofile, vim.g.base46_cache .. "syntax")
require("nvim-treesitter.configs").setup(opts)
end,
},

Loading…
Cancel
Save