dotfiles/nvim/.config/nvim/after/plugin/auto-session.lua

13 lines
472 B
Lua

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)