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

@ -6,7 +6,7 @@
with lib;
with builtins; {
options.vim.ui.colorizer = {
enable = mkEnableOption "Enable nvim-colorizer.lua for color highlighting";
enable = mkEnableOption "nvim-colorizer.lua for color highlighting";
options = {
rgb = mkOption {

View file

@ -6,6 +6,6 @@
with lib;
with builtins; {
options.vim.ui.modes-nvim = {
enable = mkEnableOption "Enable modes.nvim UI elements";
enable = mkEnableOption "modes.nvim's prismatic line decorations";
};
}

View file

@ -6,6 +6,6 @@
with lib;
with builtins; {
options.vim.ui.noice = {
enable = mkEnableOption "Enable noice-nvim UI modifications";
enable = mkEnableOption "noice-nvim UI modification library";
};
}

View file

@ -6,29 +6,34 @@
with lib;
with builtins; {
options.vim.notify.nvim-notify = {
enable = mkEnableOption "Enable nvim-notify plugin";
enable = mkEnableOption "nvim-notify notifications";
stages = mkOption {
type = types.enum ["fade_in_slide_out" "fade_in" "slide_out" "none"];
default = "fade_in_slide_out";
description = "The stages of the notification";
};
timeout = mkOption {
type = types.int;
default = 1000;
description = "The timeout of the notification";
};
background_colour = mkOption {
type = types.str;
default = "#000000";
description = "The background colour of the notification";
};
position = mkOption {
type = types.enum ["top_left" "top_right" "bottom_left" "bottom_right"];
default = "top_right";
description = "The position of the notification";
};
icons = mkOption {
type = types.attrsOf types.str;
description = "The icons of the notification";
default = {
ERROR = "";
WARN = "";
@ -36,7 +41,6 @@ with builtins; {
DEBUG = "";
TRACE = "";
};
description = "The icons of the notification";
};
};
}

View file

@ -2,7 +2,7 @@
with lib;
with builtins; {
options.vim.ui.smartcolumn = {
enable = mkEnableOption "Enable Smartcolumn line length indicator";
enable = mkEnableOption "line length indicator";
showColumnAt = mkOption {
type = types.nullOr types.int;