mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
plugins.*: use defaultNullOpts.mkProportion wherever possible
This commit is contained in:
parent
2e600f5796
commit
24ac8f651d
11 changed files with 31 additions and 37 deletions
|
@ -96,11 +96,11 @@ in
|
|||
floating = {
|
||||
border = defaultNullOpts.mkStr "rounded" "Border style.";
|
||||
|
||||
max_height = defaultNullOpts.mkNullable (types.numbers.between 0.0 1.0) 0.6 ''
|
||||
max_height = defaultNullOpts.mkProportion 0.6 ''
|
||||
Max height of window as proportion of NeoVim window.
|
||||
'';
|
||||
|
||||
max_width = defaultNullOpts.mkNullable (types.numbers.between 0.0 1.0) 0.6 ''
|
||||
max_width = defaultNullOpts.mkProportion 0.6 ''
|
||||
Max width of window as proportion of NeoVim window.
|
||||
'';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue