From 2f2b0cc69d13a91b6ec2d72de882586dceae19bb Mon Sep 17 00:00:00 2001 From: Alexander Gonzalez Date: Tue, 20 Jul 2021 14:58:19 -0400 Subject: [PATCH] docs: fix the "restore last session" map in the README (#2) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 334d0c9..f14b329 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ but you can of course write an autocmd that does exactly that if you want. vim.api.nvim_set_keymap("n", "qs", [[lua require("persistence").load()]]) -- restore the last session -vim.api.nvim_set_keymap("n", "ql", [[lua require("persistence").load(last=true)]]) +vim.api.nvim_set_keymap("n", "ql", [[lua require("persistence").load({ last = true })]]) -- stop Persistence => session won't be saved on exit vim.api.nvim_set_keymap("n", "qd", [[lua require("persistence").stop()]])