give priority to defaults hl groups cache

fixes https://github.com/NvChad/base46/issues/173, not adding this will let plugins like vim-matchup messup our syntax highlight groups
pull/1866/head
siduck 1 year ago
parent 59cee93fce
commit 0678b329dc

@ -18,5 +18,3 @@ end
vim.opt.rtp:prepend(lazypath) vim.opt.rtp:prepend(lazypath)
require "plugins" require "plugins"
dofile(vim.g.base46_cache .. "defaults")

@ -19,8 +19,10 @@ local default_plugins = {
"NvChad/ui", "NvChad/ui",
branch = "v2.0", branch = "v2.0",
lazy = false, lazy = false,
priority = 1000,
config = function() config = function()
require "nvchad_ui" require "nvchad_ui"
dofile(vim.g.base46_cache .. "defaults")
end, end,
}, },

Loading…
Cancel
Save