From ac0faa4f8bda7157e31774e5a310ebea8730fe50 Mon Sep 17 00:00:00 2001 From: Akianonymus Date: Sat, 13 Aug 2022 15:26:29 +0530 Subject: [PATCH] core: options: Remove redundant code that is shada default behaviour, why it is there ? --- lua/core/options.lua | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lua/core/options.lua b/lua/core/options.lua index 60b91db..30ec75e 100644 --- a/lua/core/options.lua +++ b/lua/core/options.lua @@ -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)