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:
2
init.lua
2
init.lua
@@ -8,7 +8,6 @@ end
|
|||||||
|
|
||||||
require("core.utils").load_mappings()
|
require("core.utils").load_mappings()
|
||||||
|
|
||||||
dofile(vim.g.base46_cache .. "defaults")
|
|
||||||
|
|
||||||
local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
|
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)
|
require("core.bootstrap").lazy(lazypath)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
dofile(vim.g.base46_cache .. "defaults")
|
||||||
vim.opt.rtp:prepend(lazypath)
|
vim.opt.rtp:prepend(lazypath)
|
||||||
require "plugins"
|
require "plugins"
|
||||||
|
|||||||
Reference in New Issue
Block a user