plugins/utils: normalize plugin defaults

This commit is contained in:
Matt Sturgeon 2024-06-11 16:54:57 +01:00
parent b10a391bd0
commit 6ab2a39e6a
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
53 changed files with 1434 additions and 1221 deletions

View file

@ -109,9 +109,9 @@ in
Closes any tmux windows harpoon that harpoon creates when you close Neovim.
'';
excludedFiletypes = helpers.defaultNullOpts.mkNullable (
with types; listOf str
) ''["harpoon"]'' "Filetypes that you want to prevent from adding to the harpoon list menu.";
excludedFiletypes = helpers.defaultNullOpts.mkListOf types.str [ "harpoon" ] ''
Filetypes that you want to prevent from adding to the harpoon list menu.
'';
markBranch = helpers.defaultNullOpts.mkBool false ''
Set marks specific to each git branch inside git repository.
@ -144,9 +144,16 @@ in
Menu window height
'';
borderChars = helpers.defaultNullOpts.mkNullable (
with types; listOf str
) ''["" "" "" "" "" "" "" ""]'' "Border characters";
borderChars = helpers.defaultNullOpts.mkListOf types.str [
""
""
""
""
""
""
""
""
] "Border characters";
};
};