2023-06-05 22:49:38 +00:00
|
|
|
{lib, ...}:
|
2023-04-04 20:33:36 +00:00
|
|
|
with lib;
|
|
|
|
with builtins; {
|
|
|
|
options.vim.ui.modes-nvim = {
|
2023-06-05 20:10:25 +00:00
|
|
|
enable = mkEnableOption "modes.nvim's prismatic line decorations";
|
2023-06-05 22:49:38 +00:00
|
|
|
|
|
|
|
setCursorline = mkOption {
|
|
|
|
type = types.bool;
|
|
|
|
description = "Set a colored cursorline on current line";
|
2023-06-05 23:33:18 +00:00
|
|
|
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-05 22:49:38 +00:00
|
|
|
};
|
2023-04-04 20:33:36 +00:00
|
|
|
};
|
|
|
|
}
|