From 0678b329dc1e382ff7d434cc21c87fbfd055a346 Mon Sep 17 00:00:00 2001 From: siduck Date: Fri, 24 Mar 2023 23:16:13 +0530 Subject: [PATCH] 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 --- init.lua | 2 -- lua/plugins/init.lua | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index f58c94e..64fca35 100644 --- a/init.lua +++ b/init.lua @@ -18,5 +18,3 @@ end vim.opt.rtp:prepend(lazypath) require "plugins" - -dofile(vim.g.base46_cache .. "defaults") diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 60b528f..8f72fa6 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -19,8 +19,10 @@ local default_plugins = { "NvChad/ui", branch = "v2.0", lazy = false, + priority = 1000, config = function() require "nvchad_ui" + dofile(vim.g.base46_cache .. "defaults") end, },