mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-23 01:08:43 +02:00
plugins/git: normalize plugin defaults
This commit is contained in:
parent
25eed3c2f5
commit
a208c7181c
8 changed files with 182 additions and 197 deletions
|
@ -15,17 +15,24 @@ helpers.vim-plugin.mkVimPlugin config {
|
|||
maintainers = [ helpers.maintainers.AndresBermeoMarinelli ];
|
||||
|
||||
settingsOptions = {
|
||||
floating_window_winblend = helpers.defaultNullOpts.mkNullable (types.ints.between 0 100) "0" ''
|
||||
floating_window_winblend = helpers.defaultNullOpts.mkNullable (types.ints.between 0 100) 0 ''
|
||||
Set the transparency of the floating window.
|
||||
'';
|
||||
|
||||
floating_window_scaling_factor =
|
||||
helpers.defaultNullOpts.mkNullable types.numbers.nonnegative "0.9"
|
||||
helpers.defaultNullOpts.mkNullable types.numbers.nonnegative 0.9
|
||||
"Set the scaling factor for floating window.";
|
||||
|
||||
floating_window_border_chars =
|
||||
helpers.defaultNullOpts.mkListOf types.str ''["╭" "─" "╮" "│" "╯" "─" "╰" "│"]''
|
||||
"Customize lazygit popup window border characters.";
|
||||
floating_window_border_chars = helpers.defaultNullOpts.mkListOf types.str [
|
||||
"╭"
|
||||
"─"
|
||||
"╮"
|
||||
"│"
|
||||
"╯"
|
||||
"─"
|
||||
"╰"
|
||||
"│"
|
||||
] "Customize lazygit popup window border characters.";
|
||||
|
||||
floating_window_use_plenary = helpers.defaultNullOpts.mkBool false ''
|
||||
Whether to use plenary.nvim to manage floating window if available.
|
||||
|
@ -41,7 +48,7 @@ helpers.vim-plugin.mkVimPlugin config {
|
|||
|
||||
config_file_path = helpers.defaultNullOpts.mkNullable (
|
||||
with types; either str (listOf str)
|
||||
) "[]" "Custom config file path or list of custom config file paths.";
|
||||
) [ ] "Custom config file path or list of custom config file paths.";
|
||||
};
|
||||
|
||||
settingsExample = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue