mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 17:03:31 +02:00
lualine: allow attrs in theme and fix disabledFiletypes
This commit is contained in:
parent
67ef20a223
commit
dc82cf7fa1
1 changed files with 3 additions and 3 deletions
|
@ -99,7 +99,7 @@ in {
|
||||||
default = true;
|
default = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
theme = helpers.defaultNullOpts.mkStr "auto" "The theme to use for lualine-nvim.";
|
theme = helpers.defaultNullOpts.mkNullable (with types; either str attrs) "auto" "The theme to use for lualine-nvim.";
|
||||||
|
|
||||||
componentSeparators = mkSeparatorsOption {
|
componentSeparators = mkSeparatorsOption {
|
||||||
leftDefault = "";
|
leftDefault = "";
|
||||||
|
@ -114,11 +114,11 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
disabledFiletypes = helpers.mkCompositeOption "Filetypes to disable lualine for." {
|
disabledFiletypes = helpers.mkCompositeOption "Filetypes to disable lualine for." {
|
||||||
statusline = helpers.defaultNullOpts.mkNullable (types.str) "[]" ''
|
statusline = helpers.defaultNullOpts.mkNullable (with types; listOf str) "[]" ''
|
||||||
Only ignores the ft for statusline.
|
Only ignores the ft for statusline.
|
||||||
'';
|
'';
|
||||||
|
|
||||||
winbar = helpers.defaultNullOpts.mkNullable (types.str) "[]" ''
|
winbar = helpers.defaultNullOpts.mkNullable (with types; listOf str) "[]" ''
|
||||||
Only ignores the ft for winbar.
|
Only ignores the ft for winbar.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue