Commit Graph

5 Commits (e70b5e2fc87d56df13b45072aef2c4d7b11e1750)

Author SHA1 Message Date
olimorris e70b5e2fc8 Add ability to determine if persistence.nvim is running
In my statusline, I like to know if persistence.nvim is active. I have a simple helper function:

function using_session()
  return (vim.g.using_persistance ~= nil)
end

which I reference and display a corresponding glyph
2021-09-07 19:38:33 +01:00
olimorris 3d84264be5 Add ability to session based on cwd and git branch
This creates session files like:

%Users%Oli%Code%Projects%persistance_feature%add-git-branch-to-session

enabling you to segment your project directory by git branch
2021-09-07 19:37:26 +01:00
Folke Lemaitre a39f3f10c8
feat: added config options 2021-07-12 10:47:09 +02:00
Folke Lemaitre 38203a17a9 fix: renamed session to persistence in autocmds 2021-07-03 23:53:52 +02:00
Folke Lemaitre 8b32094309
feat: inital version 2021-07-02 08:55:37 +02:00