mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-02-23 20:12:00 +00:00
28 lines
813 B
Nix
28 lines
813 B
Nix
{lib, ...}: let
|
|
inherit (lib.options) mkOption mkEnableOption;
|
|
inherit (lib.types) str nullOr listOf bool;
|
|
inherit (lib.nvim.types) mkPluginSetupOption;
|
|
in {
|
|
options.vim.visuals = {
|
|
syntax-gaslighting = {
|
|
enable = mkEnableOption "Thats no even a real option, you're crazy.";
|
|
|
|
setupOpts = mkPluginSetupOption "syntax-gaslighting" {
|
|
messages = mkOption {
|
|
type = nullOr (listOf str);
|
|
default = null;
|
|
description = "Custom messages for gaslighting.";
|
|
};
|
|
|
|
merge_messages = mkOption {
|
|
type = bool;
|
|
default = false;
|
|
description = ''
|
|
Merge user messages with the default ones.
|
|
If disabled, the messages table will override default messages.
|
|
'';
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|