mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-23 17:28:39 +02:00
helpers: move rawType to helpers.nixvimTypes (#871)
This is done in preparation of adding new (lua) types to help the documentation.
This commit is contained in:
parent
2f13e3a21d
commit
af41ea2d80
38 changed files with 80 additions and 75 deletions
|
@ -32,7 +32,7 @@ in {
|
|||
|
||||
rootDir =
|
||||
helpers.defaultNullOpts.mkNullable
|
||||
(with types; either str helpers.rawType)
|
||||
(with types; either str helpers.nixvimTypes.rawLua)
|
||||
"{__raw = \"vim.fn.stdpath 'data' .. '/sessions/'\";}"
|
||||
''
|
||||
Root directory for session files.
|
||||
|
@ -128,7 +128,7 @@ in {
|
|||
sessionControl = {
|
||||
controlDir =
|
||||
helpers.defaultNullOpts.mkNullable
|
||||
(with types; either str helpers.rawType)
|
||||
(with types; either str helpers.nixvimTypes.rawLua)
|
||||
"\"vim.fn.stdpath 'data' .. '/auto_session/'\""
|
||||
''
|
||||
Auto session control dir, for control files, like alternating between two sessions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue