core: options: Remove redundant code

that is shada default behaviour, why it is there ?
navigator
Akianonymus 2 years ago committed by Sidhanth Rathod
parent 0184035c15
commit ac0faa4f8b

@ -101,9 +101,3 @@ local default_providers = {
for _, provider in ipairs(default_providers) do
vim.g["loaded_" .. provider .. "_provider"] = 0
end
-- set shada path
vim.schedule(function()
vim.opt.shadafile = vim.fn.stdpath(g.vim_version > 7 and "state" or "data") .. "/shada/main.shada"
vim.cmd [[ silent! rsh ]]
end)

Loading…
Cancel
Save