mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-07 12:45:57 +01:00
remove sub-options for lualine.setupOpts
Having users to use setupOpts for lualine would suck since lualine uses the `{"module", option = value} lua syntax heavily and we don't have a good syntax for that
This commit is contained in:
parent
87e8732461
commit
1d5fa0afdc
1 changed files with 1 additions and 20 deletions
|
@ -14,28 +14,9 @@
|
|||
if config.vim.statusline.lualine.theme == "catppuccin"
|
||||
then "#181825"
|
||||
else "none";
|
||||
tempDesc = "see plugin docs for more info";
|
||||
in {
|
||||
options.vim.statusline.lualine = {
|
||||
setupOpts = mkPluginSetupOption "Lualine" {
|
||||
options = {
|
||||
disabled_filetypes = mkOption {
|
||||
description = tempDesc;
|
||||
type = listOf str;
|
||||
default = ["alpha"];
|
||||
};
|
||||
always_divide_middle = mkOption {
|
||||
description = tempDesc;
|
||||
type = bool;
|
||||
default = true;
|
||||
};
|
||||
ignore_focus = mkOption {
|
||||
description = tempDesc;
|
||||
type = listOf str;
|
||||
default = ["NvimTree"];
|
||||
};
|
||||
};
|
||||
};
|
||||
setupOpts = mkPluginSetupOption "Lualine" {};
|
||||
|
||||
enable = mkEnableOption "lualine statusline plugin";
|
||||
|
||||
|
|
Loading…
Reference in a new issue