From ed03799697514d95720b05d6f6078948f5800e8a Mon Sep 17 00:00:00 2001 From: siduck Date: Sat, 25 Mar 2023 08:15:53 +0530 Subject: [PATCH] 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 --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index a790473..9d84f6e 100644 --- a/init.lua +++ b/init.lua @@ -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"