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
This commit is contained in:
siduck 2023-03-24 23:16:13 +05:30
parent 59cee93fce
commit 0678b329dc
2 changed files with 2 additions and 2 deletions

View file

@ -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")

View file

@ -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,
}, },