defer and restore shada
This commit is contained in:
@@ -80,3 +80,10 @@ local disabled_built_ins = {
|
||||
for _, plugin in pairs(disabled_built_ins) do
|
||||
g["loaded_" .. plugin] = 1
|
||||
end
|
||||
|
||||
--Defer loading shada until after startup_
|
||||
vim.opt.shadafile = "NONE"
|
||||
vim.schedule(function()
|
||||
vim.opt.shadafile = require("core.utils").load_config().options.shadafile
|
||||
vim.cmd [[ rsh ]]
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user