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:
Will Norris authored and GitHub committed 2023-03-12 23:00:20 +01:00
1 parent 8bb0c9ddd8
commit bcdcfab020
1 file changed
+1
@@ -35,6 +35,7 @@ return {
new_section("Lazy", "Lazy", "Config"),
new_section("New file", "ene | startinsert", "Built-in"),
new_section("Quit", "qa", "Built-in"),
new_section("Session restore", [[lua require("persistence").load()]], "Session"),
},
content_hooks = {
starter.gen_hook.adding_bullet(pad .. "", false),