mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
plugins/statuslines: normalize plugin defaults
This commit is contained in:
parent
0caa5b957e
commit
d7b0cf8014
2 changed files with 5 additions and 5 deletions
|
@ -120,7 +120,7 @@ mkVimPlugin config {
|
|||
(enum [ "flag" ])
|
||||
]
|
||||
)
|
||||
"true"
|
||||
true
|
||||
''
|
||||
Display spelling language when spell detection is enabled (if enough space is
|
||||
available).
|
||||
|
|
|
@ -69,7 +69,7 @@ let
|
|||
};
|
||||
};
|
||||
}
|
||||
)) "1" "Adds padding to the left and right of components.";
|
||||
)) 1 "Adds padding to the left and right of components.";
|
||||
|
||||
fmt = helpers.mkNullOrLuaFn ''
|
||||
A lua function to format the component string.
|
||||
|
@ -129,16 +129,16 @@ in
|
|||
};
|
||||
|
||||
disabledFiletypes = {
|
||||
statusline = helpers.defaultNullOpts.mkNullable (with types; listOf str) "[]" ''
|
||||
statusline = helpers.defaultNullOpts.mkListOf types.str [ ] ''
|
||||
Only ignores the ft for statusline.
|
||||
'';
|
||||
|
||||
winbar = helpers.defaultNullOpts.mkNullable (with types; listOf str) "[]" ''
|
||||
winbar = helpers.defaultNullOpts.mkListOf types.str [ ] ''
|
||||
Only ignores the ft for winbar.
|
||||
'';
|
||||
};
|
||||
|
||||
ignoreFocus = helpers.defaultNullOpts.mkNullable (types.listOf types.str) "[]" ''
|
||||
ignoreFocus = helpers.defaultNullOpts.mkListOf types.str [ ] ''
|
||||
If current filetype is in this list it'll always be drawn as inactive statusline and the
|
||||
last window will be drawn as active statusline.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue