diff --git a/README.md b/README.md index 1bdf154..c7e7101 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ Persistence comes with the following defaults: ```lua { - dir = vim.fn.expand(vim.fn.stdpath("config") .. "/sessions/"), -- directory where session files are saved + dir = vim.fn.expand(vim.fn.stdpath("state") .. "/sessions/"), -- directory where session files are saved options = { "buffers", "curdir", "tabpages", "winsize" }, -- sessionoptions used for saving } ``` diff --git a/doc/persistence.txt b/doc/persistence.txt index 2d35de5..a6467ac 100644 --- a/doc/persistence.txt +++ b/doc/persistence.txt @@ -69,7 +69,7 @@ Persistence comes with the following defaults: > { - dir = vim.fn.expand(vim.fn.stdpath("config") .. "/sessions/"), -- directory where session files are saved + dir = vim.fn.expand(vim.fn.stdpath("state") .. "/sessions/"), -- directory where session files are saved options = { "buffers", "curdir", "tabpages", "winsize" }, -- sessionoptions used for saving } <