mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-23 05:40:44 +00:00
26 lines
561 B
Nix
26 lines
561 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib;
|
|
with builtins; {
|
|
options.vim.notes.todo-comments = {
|
|
enable = mkEnableOption "Enable todo-comments";
|
|
|
|
patterns = {
|
|
highlight = mkOption {
|
|
type = types.str;
|
|
default = ''[[.*<(KEYWORDS)(\([^\)]*\))?:]]'';
|
|
description = "vim regex pattern used for highlighting comments";
|
|
};
|
|
|
|
search = mkOption {
|
|
type = types.str;
|
|
default = ''[[\b(KEYWORDS)(\([^\)]*\))?:]]'';
|
|
description = "ripgrep regex pattern used for searching comments";
|
|
};
|
|
};
|
|
};
|
|
}
|