docs: fix mkEnableOption usage for autogenerated documentation

This commit is contained in:
NotAShelf 2023-06-05 23:10:25 +03:00
commit a2b58e17af
No known key found for this signature in database
GPG key ID: F0D14CCB5ED5AA22
55 changed files with 225 additions and 333 deletions

View file

@ -8,14 +8,10 @@ with builtins; let
supported_themes = import ./supported_themes.nix;
in {
options.vim.statusline.lualine = {
enable = mkEnableOption "lualine";
enable = mkEnableOption "lualine statusline plugin";
icons = {
enable = mkOption {
type = types.bool;
description = "Enable icons for lualine";
default = true;
};
enable = mkEnableOption "icons for lualine" // {default = true;};
};
refresh = {
@ -125,6 +121,7 @@ in {
"mode",
separator = {
left = '',
right = ''
},
},
}
@ -184,7 +181,12 @@ in {
{
"diagnostics",
sources = {'nvim_lsp', 'nvim_diagnostic', 'coc'},
symbols = {error = '󰅙 ', warn = ' ', info = ' ', hint = '󰌵 '}
symbols = {error = '󰅙 ', warn = ' ', info = ' ', hint = '󰌵 '},
diagnostics_color = {
color_error = { fg = colors.red },
color_warn = { fg = colors.yellow },
color_info = { fg = colors.cyan },
},
},
}
'';
@ -224,12 +226,7 @@ in {
{
"branch",
icon = ' ',
separator = {
left = '(',
right = ')'
},
color = {bg='none', fg='lavender'},
},
}
'';