mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-29 03:50:09 +02:00
plugins/utils: normalize plugin defaults
This commit is contained in:
parent
b10a391bd0
commit
6ab2a39e6a
53 changed files with 1434 additions and 1221 deletions
|
@ -76,20 +76,17 @@ in
|
|||
'';
|
||||
|
||||
modes =
|
||||
helpers.defaultNullOpts.mkNullable
|
||||
(
|
||||
with types;
|
||||
listOf (enum [
|
||||
"/"
|
||||
"?"
|
||||
":"
|
||||
])
|
||||
)
|
||||
''["/" "?"]''
|
||||
''
|
||||
List of modes which wilderw will be active in.
|
||||
Possible elements: '/', '?' and ':'
|
||||
'';
|
||||
helpers.defaultNullOpts.mkListOf
|
||||
(types.enum [
|
||||
"/"
|
||||
"?"
|
||||
":"
|
||||
])
|
||||
[
|
||||
"/"
|
||||
"?"
|
||||
]
|
||||
"List of modes that wilder will be active in.";
|
||||
|
||||
wildcharm =
|
||||
helpers.defaultNullOpts.mkNullable (with types; either str (enum [ false ])) "&wildchar"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue