mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-06-23 05:38:38 +02:00
Added debugging and autosession
This commit is contained in:
parent
2870f89f1e
commit
073800f7db
3 changed files with 137 additions and 10 deletions
25
lua/custom/plugins/autosession.lua
Normal file
25
lua/custom/plugins/autosession.lua
Normal file
|
@ -0,0 +1,25 @@
|
|||
return {
|
||||
'rmagatti/auto-session',
|
||||
config = function()
|
||||
require("auto-session").setup {
|
||||
log_level = "error",
|
||||
auto_session_suppress_dirs = { "~/", "~/Downloads", "/"},
|
||||
auto_save_enabled = true,
|
||||
auto_restore_enabled = true,
|
||||
auto_session_use_git_branch = true,
|
||||
auto_session_enable_last_session = true,
|
||||
pre_save_cmds = {
|
||||
"NeoTreeClose"
|
||||
},
|
||||
post_save_cmds = {
|
||||
"NeoTreeReveal"
|
||||
},
|
||||
pre_restore_cmds = {
|
||||
"NeoTreeClose"
|
||||
},
|
||||
post_restore_cmds = {
|
||||
"NeoTreeReveal"
|
||||
},
|
||||
}
|
||||
end
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue