mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-22 21:09:47 +01:00
36 lines
1 KiB
Nix
36 lines
1 KiB
Nix
{lib, ...}:
|
|
with lib;
|
|
with builtins; {
|
|
options.vim.ui.modes-nvim = {
|
|
enable = mkEnableOption "modes.nvim's prismatic line decorations";
|
|
|
|
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";
|
|
};
|
|
};
|
|
};
|
|
}
|