mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-02-24 12:23:20 +00:00
19 lines
318 B
Nix
19 lines
318 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib.modules) mkIf;
|
|
|
|
cfg = config.vim.visuals.blink-indent;
|
|
in {
|
|
config = mkIf cfg.enable {
|
|
vim.lazy.plugins.blink-indent = {
|
|
package = "blink-indent";
|
|
setupModule = "blink.indent";
|
|
inherit (cfg) setupOpts;
|
|
|
|
event = ["BufEnter"];
|
|
};
|
|
};
|
|
}
|