mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-23 01:08:59 +02:00
feat(mini-starter): add Session restore to starter menu (#421)
This mirrors the menu item added in alpha-nvim. I named this "Session restore" rather than "Restore session", since mini.starter uses the first letter of the item as the shortcut key. This way it doesn't conflict with "Recent files"
This commit is contained in:
parent
8bb0c9ddd8
commit
bcdcfab020
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ return {
|
||||||
new_section("Lazy", "Lazy", "Config"),
|
new_section("Lazy", "Lazy", "Config"),
|
||||||
new_section("New file", "ene | startinsert", "Built-in"),
|
new_section("New file", "ene | startinsert", "Built-in"),
|
||||||
new_section("Quit", "qa", "Built-in"),
|
new_section("Quit", "qa", "Built-in"),
|
||||||
|
new_section("Session restore", [[lua require("persistence").load()]], "Session"),
|
||||||
},
|
},
|
||||||
content_hooks = {
|
content_hooks = {
|
||||||
starter.gen_hook.adding_bullet(pad .. "░ ", false),
|
starter.gen_hook.adding_bullet(pad .. "░ ", false),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue