nix-community.nixvim/plugins/by-name/baleia/default.nix

56 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, ... }:
let
inherit (lib.nixvim) defaultNullOpts;
in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
2024-02-14 18:38:55 +00:00
name = "baleia";
originalName = "baleia.nvim";
package = "baleia-nvim";
2024-02-14 18:38:55 +00:00
2024-09-27 05:28:00 +01:00
maintainers = [ lib.maintainers.alisonjenkins ];
2024-02-14 18:38:55 +00:00
settingsOptions = {
async = defaultNullOpts.mkBool true ''
2024-02-14 18:38:55 +00:00
Highlight asynchronously.
'';
colors = defaultNullOpts.mkStr "NR_8" ''
2024-02-14 18:38:55 +00:00
Table mapping 256 color codes to vim colors.
'';
line_starts_at = defaultNullOpts.mkInt 1 ''
2024-02-14 18:38:55 +00:00
At which column start colorizing.
'';
2024-05-05 19:39:35 +02:00
log =
defaultNullOpts.mkEnum
2024-05-05 19:39:35 +02:00
[
"ERROR"
"WARN"
"INFO"
"DEBUG"
]
"INFO"
''
Log level, possible values are ERROR, WARN, INFO or DEBUG.
'';
2024-02-14 18:38:55 +00:00
name = defaultNullOpts.mkStr "BaleiaColors" ''
2024-02-14 18:38:55 +00:00
Prefix used to name highlight groups.
'';
strip_ansi_codes = defaultNullOpts.mkBool true ''
2024-02-14 18:38:55 +00:00
Remove ANSI color codes from text.
'';
};
settingsExample = {
async = true;
colors = "NR_8";
line_starts_at = 1;
log = "INFO";
name = "BaleiaColors";
strip_ansi_codes = true;
};
}