load cached highlights whenever base46 updates
This commit is contained in:
parent
27455fd2c2
commit
3384f81639
|
@ -16,10 +16,7 @@ M.lazy = function(install_path)
|
||||||
|
|
||||||
-- install plugins + compile their configs
|
-- install plugins + compile their configs
|
||||||
require "plugins"
|
require "plugins"
|
||||||
|
require("lazy").load { plugins = { "nvim-treesitter" } }
|
||||||
vim.fn.mkdir(vim.g.base46_cache, "p")
|
|
||||||
require("base46").load_all_highlights()
|
|
||||||
require("lazy").load { plugins = "nvim-treesitter" }
|
|
||||||
|
|
||||||
-- install binaries from mason.nvim & tsparsers on LazySync
|
-- install binaries from mason.nvim & tsparsers on LazySync
|
||||||
vim.schedule(function()
|
vim.schedule(function()
|
||||||
|
|
|
@ -6,7 +6,14 @@ local default_plugins = {
|
||||||
|
|
||||||
-- nvchad plugins
|
-- nvchad plugins
|
||||||
{ "NvChad/extensions", branch = "v2.0" },
|
{ "NvChad/extensions", branch = "v2.0" },
|
||||||
{ "NvChad/base46", branch = "v2.0" },
|
|
||||||
|
{
|
||||||
|
"NvChad/base46",
|
||||||
|
branch = "v2.0",
|
||||||
|
build = function()
|
||||||
|
require("base46").load_all_highlights()
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"NvChad/ui",
|
"NvChad/ui",
|
||||||
|
|
Loading…
Reference in New Issue