2023-11-07 00:50:27 +00:00
|
|
|
{lib, ...}: let
|
2024-03-16 13:25:30 +00:00
|
|
|
inherit (lib.options) mkOption mkEnableOption;
|
|
|
|
inherit (lib.types) str;
|
2023-11-07 00:50:27 +00:00
|
|
|
in {
|
2023-04-04 20:33:36 +00:00
|
|
|
options.vim.ui.modes-nvim = {
|
2024-03-16 13:25:30 +00:00
|
|
|
enable = mkEnableOption "prismatic line decorations [modes.nvim]";
|
|
|
|
setCursorline = mkEnableOption "colored cursorline on current line";
|
2023-06-05 23:33:18 +00:00
|
|
|
colors = {
|
|
|
|
copy = mkOption {
|
2024-03-16 13:25:30 +00:00
|
|
|
type = str;
|
2023-06-05 23:33:18 +00:00
|
|
|
description = "The #RRGGBB color code for the visual mode highlights";
|
|
|
|
default = "#f5c359";
|
|
|
|
};
|
2024-03-16 13:25:30 +00:00
|
|
|
|
2023-06-05 23:33:18 +00:00
|
|
|
delete = mkOption {
|
2024-03-16 13:25:30 +00:00
|
|
|
type = str;
|
2023-06-05 23:33:18 +00:00
|
|
|
description = "The #RRGGBB color code for the visual mode highlights";
|
|
|
|
default = "#c75c6a";
|
|
|
|
};
|
2024-03-16 13:25:30 +00:00
|
|
|
|
2023-06-05 23:33:18 +00:00
|
|
|
insert = mkOption {
|
2024-03-16 13:25:30 +00:00
|
|
|
type = str;
|
2023-06-05 23:33:18 +00:00
|
|
|
description = "The #RRGGBB color code for the visual mode highlights";
|
|
|
|
default = "#78ccc5";
|
|
|
|
};
|
2024-03-16 13:25:30 +00:00
|
|
|
|
2023-06-05 23:33:18 +00:00
|
|
|
visual = mkOption {
|
2024-03-16 13:25:30 +00:00
|
|
|
type = str;
|
2023-06-05 23:33:18 +00:00
|
|
|
description = "The #RRGGBB color code for the visual mode highlights";
|
|
|
|
default = "#9745be";
|
|
|
|
};
|
2023-06-05 22:49:38 +00:00
|
|
|
};
|
2023-04-04 20:33:36 +00:00
|
|
|
};
|
|
|
|
}
|