mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-06-22 20:43:27 +00:00
22 lines
377 B
Nix
22 lines
377 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib.modules) mkIf;
|
|
|
|
cfg = config.vim.presence.cord-nvim;
|
|
in {
|
|
config = mkIf cfg.enable {
|
|
vim = {
|
|
globals.cord_defer_startup = true;
|
|
|
|
lazy.plugins.cord-nvim = {
|
|
package = "cord-nvim";
|
|
setupModule = "cord";
|
|
inherit (cfg) setupOpts;
|
|
event = ["DeferredUIEnter"];
|
|
};
|
|
};
|
|
};
|
|
}
|