blob: f17a68cdc5c0794ca3d3889e51e2e1ebff6bdb77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{
config,
lib,
...
}: let
inherit (lib.modules) mkIf;
cfg = config.vim.visuals.indent-blankline;
in {
config = mkIf cfg.enable {
vim.lazy.plugins.indent-blankline-nvim = {
package = "indent-blankline-nvim";
setupModule = "ibl";
inherit (cfg) setupOpts;
event = [
{
event = "User";
pattern = "LazyFile";
}
];
cmd = ["IBLEnable" "IBLDisable" "IBLToggle" "IBLEnableScope" "IBLDisableScope" "IBLToggleScope"];
};
};
}
|