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:
@@ -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 = {},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user