neovim-flake/modules/ui/modes/modes.nix

37 lines
1.0 KiB
Nix
Raw Normal View History

{lib, ...}: let
inherit (lib) mkEnableOption mkOption types;
in {
2023-04-04 22:33:36 +02:00
options.vim.ui.modes-nvim = {
enable = mkEnableOption "modes.nvim's prismatic line decorations";
2023-06-06 00:49:38 +02:00
setCursorline = mkOption {
type = types.bool;
description = "Set a colored cursorline on current line";
default = false; # looks ugly, disabled by default
};
colors = {
copy = mkOption {
type = types.str;
description = "The #RRGGBB color code for the visual mode highlights";
default = "#f5c359";
};
delete = mkOption {
type = types.str;
description = "The #RRGGBB color code for the visual mode highlights";
default = "#c75c6a";
};
insert = mkOption {
type = types.str;
description = "The #RRGGBB color code for the visual mode highlights";
default = "#78ccc5";
};
visual = mkOption {
type = types.str;
description = "The #RRGGBB color code for the visual mode highlights";
default = "#9745be";
};
2023-06-06 00:49:38 +02:00
};
2023-04-04 22:33:36 +02:00
};
}