mirror of
https://github.com/folke/snacks.nvim
synced 2025-07-16 01:25:14 +00:00
fix(sessions): change persisted.nvim load session command (#118)
## Description Firstly, thank you for integrating persisted.nvim in the dashboard out of the box. This PR changes the command to load a persisted.nvim session. This accounts for users potentially not having `SessionLoad` available to them if they lazy load their dashboard and don't have `cmd = { "SessionLoad" }` setup. ## Related Issue(s) N/A ## Screenshots N/A
This commit is contained in:
parent
978424ce28
commit
26bec4b51d
1 changed files with 1 additions and 1 deletions
|
@ -727,7 +727,7 @@ M.sections = {}
|
|||
function M.sections.session(item)
|
||||
local plugins = {
|
||||
{ "persistence.nvim", ":lua require('persistence').load()" },
|
||||
{ "persisted.nvim", ":SessionLoad" },
|
||||
{ "persisted.nvim", ":lua require('persisted').load()" },
|
||||
{ "neovim-session-manager", ":SessionManager load_current_dir_session" },
|
||||
{ "possession.nvim", ":PossessionLoadCwd" },
|
||||
{ "mini.sessions", ":lua require('mini.sessions').read('local')" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue