core: options: Remove redundant code

that is shada default behaviour, why it is there ?
This commit is contained in:
Akianonymus 2022-08-13 15:26:29 +05:30 committed by Sidhanth Rathod
parent 0184035c15
commit ac0faa4f8b
1 changed files with 0 additions and 6 deletions

View File

@ -101,9 +101,3 @@ local default_providers = {
for _, provider in ipairs(default_providers) do for _, provider in ipairs(default_providers) do
vim.g["loaded_" .. provider .. "_provider"] = 0 vim.g["loaded_" .. provider .. "_provider"] = 0
end 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)