Skip to content

Commit

Permalink
update autosession presave function ⚡
Browse files Browse the repository at this point in the history
  • Loading branch information
scottmckendry committed May 17, 2024
1 parent 5c3ea58 commit 5ba894b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nvim/lua/plugins/auto-session.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ return {
},
},
config = function()
local close_neotree = function()
require("neo-tree.sources.manager").close_all()
local close_minifiles = function()
require("mini.files").close()
end

require("auto-session").setup({
Expand All @@ -21,7 +21,7 @@ return {
},

pre_save_cmds = {
close_neotree,
close_minifiles,
},
})
end,
Expand Down

0 comments on commit 5ba894b

Please sign in to comment.