blob: 9fcfc6ec7fd27b42242d1732fda36d8c261cdd72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{
config,
lib,
...
}: let
inherit (lib.modules) mkIf;
cfg = config.vim.utility.smart-paste-nvim;
in {
config = mkIf cfg.enable {
vim.lazy.plugins.smart-paste-nvim = {
package = "smart-paste-nvim";
setupModule = "smart-paste";
inherit (cfg) setupOpts;
event = ["DeferredUIEnter"];
};
};
}
|