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)
This commit is contained in:
parent
caeec36191
commit
8eaa3666dd
2 changed files with 2 additions and 1 deletions
|
@ -40,6 +40,7 @@ M.gen_chadrc_template = function()
|
||||||
"https://github.com/NvChad/example_config",
|
"https://github.com/NvChad/example_config",
|
||||||
vim.fn.stdpath "config" .. "/lua/custom",
|
vim.fn.stdpath "config" .. "/lua/custom",
|
||||||
}
|
}
|
||||||
|
print "dont forget to read docs from nvchad.com!"
|
||||||
vim.cmd "redraw|echo ''"
|
vim.cmd "redraw|echo ''"
|
||||||
|
|
||||||
-- delete .git from that repo
|
-- delete .git from that repo
|
||||||
|
|
|
@ -81,7 +81,7 @@ local default_plugins = {
|
||||||
return require "plugins.configs.treesitter"
|
return require "plugins.configs.treesitter"
|
||||||
end,
|
end,
|
||||||
config = function(_, opts)
|
config = function(_, opts)
|
||||||
dofile(vim.g.base46_cache .. "syntax")
|
pcall(dofile, vim.g.base46_cache .. "syntax")
|
||||||
require("nvim-treesitter.configs").setup(opts)
|
require("nvim-treesitter.configs").setup(opts)
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue