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