mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-08 03:11:36 +00:00
modules/ui: switch to explicit lib calls
This commit is contained in:
parent
db0df5c211
commit
5955d53077
9 changed files with 37 additions and 32 deletions
|
@ -3,31 +3,37 @@
|
|||
inherit (lib.types) str;
|
||||
in {
|
||||
options.vim.ui.modes-nvim = {
|
||||
enable = mkEnableOption "prismatic line decorations [modes.nvim]";
|
||||
setCursorline = mkEnableOption "colored cursorline on current line";
|
||||
enable = mkEnableOption "modes.nvim's prismatic line decorations";
|
||||
|
||||
setCursorline = mkOption {
|
||||
type = bool;
|
||||
description = "Set a colored cursorline on current line";
|
||||
default = false; # looks ugly, disabled by default
|
||||
};
|
||||
|
||||
colors = {
|
||||
copy = mkOption {
|
||||
type = str;
|
||||
description = "The #RRGGBB color code for the visual mode highlights";
|
||||
default = "#f5c359";
|
||||
description = "The #RRGGBB color code for the visual mode highlights";
|
||||
};
|
||||
|
||||
delete = mkOption {
|
||||
type = str;
|
||||
description = "The #RRGGBB color code for the visual mode highlights";
|
||||
default = "#c75c6a";
|
||||
description = "The #RRGGBB color code for the visual mode highlights";
|
||||
};
|
||||
|
||||
insert = mkOption {
|
||||
type = str;
|
||||
description = "The #RRGGBB color code for the visual mode highlights";
|
||||
default = "#78ccc5";
|
||||
description = "The #RRGGBB color code for the visual mode highlights";
|
||||
};
|
||||
|
||||
visual = mkOption {
|
||||
type = str;
|
||||
description = "The #RRGGBB color code for the visual mode highlights";
|
||||
default = "#9745be";
|
||||
description = "The #RRGGBB color code for the visual mode highlights";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue