diff --git a/lua/persistence/config.lua b/lua/persistence/config.lua index 6d17901..4c584c9 100644 --- a/lua/persistence/config.lua +++ b/lua/persistence/config.lua @@ -2,7 +2,7 @@ local M = {} ---@class PersistenceOptions local 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 }