mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2025-01-10 20:19:48 +01:00
19 lines
331 B
Nix
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"];
|
|
}
|
|
];
|
|
};
|
|
}
|