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:
Oli 2024-11-20 08:39:41 +00:00 committed by GitHub
parent 978424ce28
commit 26bec4b51d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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')" },