From 1386bac1a68384ad8852951ae60c49c42380796b Mon Sep 17 00:00:00 2001 From: Oli M Date: Tue, 7 Sep 2021 19:40:54 +0100 Subject: [PATCH] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index f14b329..924a5b7 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ - automatically saves the active session under `.config/nvim/sessions` on exit - simple API to restore the current or last session +- make use of sessions per git branch ## ⚡️ Requirements @@ -51,6 +52,7 @@ Persistence comes with the following defaults: ```lua { dir = vim.fn.expand(vim.fn.stdpath("config") .. "/sessions/"), -- directory where session files are saved + use_git_branch = false, -- create session files based on the branch of the git enabled repository options = { "buffers", "curdir", "tabpages", "winsize" }, -- sessionoptions used for saving } ```