mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 10:21:31 +00:00
nvim-session-manager: add GitSession autoload mode
Adds the missing autoload mode from the docs https://github.com/Shatur/neovim-session-manager?tab=readme-ov-file#autoload-mode
This commit is contained in:
parent
18c17b7b8d
commit
688d7df0e5
1 changed files with 2 additions and 2 deletions
|
@ -77,7 +77,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
autoload_mode = mkOption {
|
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
|
# Variable 'sm' is defined in the pluginRC of nvim-session-manager. The
|
||||||
# definition is as follows: `local sm = require('session_manager.config')`
|
# definition is as follows: `local sm = require('session_manager.config')`
|
||||||
apply = val:
|
apply = val:
|
||||||
|
@ -88,7 +88,7 @@ in {
|
||||||
description = ''
|
description = ''
|
||||||
Define what to do when Neovim is started without arguments.
|
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.
|
will be inserted into `sm.AutoloadMode.<value>`, or an inline Lua value.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue