neovim-flake/modules/plugins/completion/options.nix

16 lines
411 B
Nix
Raw Normal View History

2024-12-23 01:24:06 +01:00
{lib, ...}: let
inherit (lib.options) mkEnableOption mkOption;
inherit (lib.types) listOf;
inherit (lib.nvim.types) pluginType;
2024-12-23 01:24:06 +01:00
in {
options.vim.autocomplete = {
enableSharedCmpSources = mkEnableOption "cmp sources shared by nvim-cmp and blink.cmp";
sourcePlugins = mkOption {
type = listOf pluginType;
default = [];
description = "List of cmp source plugins.";
};
2024-12-23 01:24:06 +01:00
};
}