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

@ -12,24 +12,12 @@ in {
nvimWebDevicons.enable = mkEnableOption "dev icons. Required for certain plugins [nvim-web-devicons].";
scrollBar.enable = mkOption {
type = types.bool;
description = "Enable scrollbar [scrollbar.nvim]";
default = false;
};
scrollBar.enable = mkEnableOption "Enable scrollbar [scrollbar.nvim]";
smoothScroll.enable = mkOption {
type = types.bool;
description = "Enable smooth scrolling [cinnamon-nvim]";
default = false;
};
smoothScroll.enable = mkEnableOption "Enable smooth scrolling [cinnamon-nvim]";
cellularAutomaton = {
enable = mkOption {
type = types.bool;
description = "Enable cellular automaton [cellular-automaton]";
default = false;
};
enable = mkEnableOption "Enable cellular automaton [cellular-automaton]";
mappings = {
makeItRain = mkMappingOption "Make it rain [cellular-automaton]" "<leader>fml";
@ -37,11 +25,8 @@ in {
};
fidget-nvim = {
enable = mkOption {
type = types.bool;
description = "Enable nvim LSP UI element [fidget-nvim]";
default = false;
};
enable = mkEnableOption "Enable nvim LSP UI element [fidget-nvim]";
align = {
bottom = mkOption {
type = types.bool;
@ -68,11 +53,7 @@ in {
};
indentBlankline = {
enable = mkOption {
type = types.bool;
description = "Enable indentation guides [indent-blankline]";
default = false;
};
enable = mkEnableOption "Enable indentation guides [indent-blankline]";
listChar = mkOption {
type = types.str;