plugins.*: use defaultNullOpts.mkProportion wherever possible

This commit is contained in:
Gaetan Lepage 2025-01-03 23:09:34 +01:00
parent 2e600f5796
commit 24ac8f651d
11 changed files with 31 additions and 37 deletions

View file

@ -14,7 +14,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
# Optionally, explicitly declare some options. You don't have to.
settingsOptions = {
window = {
backdrop = helpers.defaultNullOpts.mkNullable (types.numbers.between 0.0 1.0) 0.95 ''
backdrop = helpers.defaultNullOpts.mkProportion 0.95 ''
Shade the backdrop of the Zen window.
Set to 1 to keep the same as Normal.
'';