neovim-flake/modules/plugins/completion/blink-cmp/blink-cmp.nix
Ching Pei Yang 16fc1a7de2
blink: init
2025-01-01 10:31:35 +01:00

16 lines
488 B
Nix

{lib, ...}: let
inherit (lib.options) mkEnableOption mkOption;
inherit (lib.types) listOf string;
inherit (lib.nvim.types) mkPluginSetupOption;
in {
options.vim.autocomplete.blink-cmp = {
enable = mkEnableOption "blink.cmp";
setupOpts = mkPluginSetupOption "blink.cmp" {
sources = mkOption {
type = listOf string;
description = "List of sources to enable for completion.";
default = ["lsp" "path" "snippets" "buffer"];
};
};
};
}