diff --git a/README.md b/README.md index f14b329..1bdf154 100644 --- a/README.md +++ b/README.md @@ -62,11 +62,11 @@ but you can of course write an autocmd that does exactly that if you want. ```lua -- restore the session for the current directory -vim.api.nvim_set_keymap("n", "qs", [[lua require("persistence").load()]]) +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()]]) +vim.api.nvim_set_keymap("n", "qd", [[lua require("persistence").stop()]], {}) ```