bootstrap base46 before lazy

fix https://github.com/NvChad/base46/issues/166
This commit is contained in:
siduck 2023-03-26 15:52:41 +05:30
parent ed03799697
commit 609000db5b
3 changed files with 21 additions and 13 deletions

View file

@ -8,11 +8,11 @@ end
require("core.utils").load_mappings()
local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
-- bootstrap lazy.nvim!
if not vim.loop.fs_stat(lazypath) then
require("core.bootstrap").base46()
require("core.bootstrap").gen_chadrc_template()
require("core.bootstrap").lazy(lazypath)
end