core: options: Remove redundant code
that is shada default behaviour, why it is there ?
This commit is contained in:
parent
0184035c15
commit
ac0faa4f8b
@ -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)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user