fix: nvim-tree no longer stops working when restoring a session

add nvim-tree as a dependency of auto-session prevents nvim-tree commands not
working when restoring a session with sessionopts+='globals'
This commit is contained in:
2024-12-07 18:48:56 -05:00
parent bbb3b9043f
commit a9a691cad2
2 changed files with 9 additions and 3 deletions
+7 -1
View File
@@ -1,5 +1,11 @@
return {
'rmagatti/auto-session',
-- ┌
-- │ add nvim-tree as a dependency to stop sessions to
-- │ reload with nvim-tree commands unavailable when saving
-- │ with sessionopts+='globals'
-- └
dependencies = { 'nvim-tree/nvim-tree.lua' },
lazy = false,
---@module "auto-session"
@@ -26,4 +32,4 @@ return {
pre_save_cmds = {},
post_restore_cmds = {},
},
}
}