neovim-flake/modules/plugins/completion/blink-cmp/config.nix
Ching Pei Yang 402eba80b7
blink: init
2024-12-23 03:06:01 +01:00

19 lines
331 B
Nix

{
lib,
config,
...
}: let
inherit (lib.modules) mkIf;
cfg = config.vim.autocomplete.blink-nvim;
in {
vim = mkIf cfg.enable {
lazy.plugins = [
{
package = "blink-cmp";
setupModule = "blink";
inherit (cfg) setupOpts;
event = ["InsertEnter" "CmdlineEnter"];
}
];
};
}