From e1e2bf917fe2410c739f4ea76a435536e0b868b1 Mon Sep 17 00:00:00 2001 From: folke Date: Sat, 6 Jul 2024 20:00:45 +0000 Subject: [PATCH] chore(build): auto-generate docs --- doc/persistence.nvim.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/persistence.nvim.txt b/doc/persistence.nvim.txt index 011a281..8da7d0c 100644 --- a/doc/persistence.nvim.txt +++ b/doc/persistence.nvim.txt @@ -54,7 +54,10 @@ Persistence comes with the following defaults: >lua { dir = vim.fn.stdpath("state") .. "/sessions/", -- directory where session files are saved - save_empty = false, -- don't save if there are no open file buffers + -- minimum number of file buffers that need to be open to save + -- Set to 0 to always save + need = 1, + branch = true, -- use git branch to save session } <