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
pull/1866/head
siduck 1 year ago
parent 432b2c1cf1
commit ed03799697

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

Loading…
Cancel
Save