feat: add more configuration options for modes.nvim

This commit is contained in:
NotAShelf 2023-06-06 02:33:18 +03:00
commit b8d2c23eaf
No known key found for this signature in database
GPG key ID: F0D14CCB5ED5AA22
2 changed files with 31 additions and 3 deletions

View file

@ -7,7 +7,30 @@ with builtins; {
setCursorline = mkOption {
type = types.bool;
description = "Set a colored cursorline on current line";
default = false;
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";
};
};
};
}