Skip to content

Commit f9ee813

Browse files
authored
Merge pull request #971 from Tofixrs/nvim-session-manager
nvim-session-manager: add GitSession autoload mode
2 parents 18c17b7 + 688d7df commit f9ee813

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/plugins/session/nvim-session-manager/nvim-session-manager.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ in {
7777
};
7878

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

0 commit comments

Comments
 (0)