Merge pull request #971 from Tofixrs/nvim-session-manager
Some checks failed
Set up binary cache / cachix (default) (push) Has been cancelled
Set up binary cache / cachix (maximal) (push) Has been cancelled
Set up binary cache / cachix (nix) (push) Has been cancelled
Treewide Checks / Validate flake (push) Has been cancelled
Treewide Checks / Check formatting (push) Has been cancelled
Treewide Checks / Check source tree for typos (push) Has been cancelled
Treewide Checks / Validate documentation builds (push) Has been cancelled
Treewide Checks / Validate hyperlinks in documentation sources (push) Has been cancelled
Treewide Checks / Validate Editorconfig conformance (push) Has been cancelled
Build and deploy documentation / Check latest commit (push) Has been cancelled
Build and deploy documentation / publish (push) Has been cancelled

nvim-session-manager: add GitSession autoload mode
This commit is contained in:
raf 2025-06-25 12:02:30 +03:00 committed by GitHub
commit f9ee813a23
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -77,7 +77,7 @@ in {
};
autoload_mode = mkOption {
type = either (enum ["Disabled" "CurrentDir" "LastSession"]) luaInline;
type = either (enum ["Disabled" "CurrentDir" "LastSession" "GitSession"]) luaInline;
# Variable 'sm' is defined in the pluginRC of nvim-session-manager. The
# definition is as follows: `local sm = require('session_manager.config')`
apply = val:
@ -88,7 +88,7 @@ in {
description = ''
Define what to do when Neovim is started without arguments.
Takes either one of `"Disabled"`, `"CurrentDir"`, `"LastSession` in which case the value
Takes either one of `"Disabled"`, `"CurrentDir"`, `"LastSession"`, `"GitSession"` in which case the value
will be inserted into `sm.AutoloadMode.<value>`, or an inline Lua value.
'';
};