nvim: plugins: Remove auto-session

Recent changes to auto-session which got added with session lens
support are just plain annoying. It adds telescope support which
broke session loading as we do not use telescope. It has started
creating session files which we do not want and there seems to be
no setting to disable them or at least if there is it is not at
all obvious from the documentation. Just nuke this nonsense.
This commit is contained in:
Sanchayan Maity 2023-05-01 11:30:28 +05:30
parent 71873b1177
commit 7271c9b030
Signed by: sanchayanmaity
GPG key ID: 6F6A0609C12038F3
2 changed files with 0 additions and 14 deletions

View file

@ -1,13 +0,0 @@
local opts = {
log_level = 'error',
auto_session_enable_last_session = false,
auto_session_root_dir = vim.fn.expand('~/.vim/session/'),
auto_session_enabled = true,
auto_session_create_enabled = false,
auto_save_enabled = true,
auto_restore_enabled = true,
auto_session_suppress_dirs = nil,
auto_session_allowed_dirs = nil,
}
require('auto-session').setup(opts)

View file

@ -4,7 +4,6 @@ vim.cmd 'packadd cfilter'
require "paq" {
'phaazon/hop.nvim' ,
'ibhagwan/fzf-lua' ,
'rmagatti/auto-session' ,
'dcampos/nvim-snippy' ,
'honza/vim-snippets' ,
'lewis6991/gitsigns.nvim' ,