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