diff --git a/lua/core/bootstrap.lua b/lua/core/bootstrap.lua index 1582e320..1ebcb81f 100644 --- a/lua/core/bootstrap.lua +++ b/lua/core/bootstrap.lua @@ -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 diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 3f2031e1..8f875891 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -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, },