load defaults cache after lazypath check

not having this will create that dofile error that the file isnt present as the file gets created only when base46 compiles and which occurs during boostrapping lazy.nvim
This commit is contained in:
siduck 2023-03-25 08:15:53 +05:30
parent 432b2c1cf1
commit ed03799697

View File

@ -8,7 +8,6 @@ end
require("core.utils").load_mappings()
dofile(vim.g.base46_cache .. "defaults")
local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
@ -18,5 +17,6 @@ if not vim.loop.fs_stat(lazypath) then
require("core.bootstrap").lazy(lazypath)
end
dofile(vim.g.base46_cache .. "defaults")
vim.opt.rtp:prepend(lazypath)
require "plugins"