mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-02-23 20:08:30 +00:00
15 lines
411 B
Nix
15 lines
411 B
Nix
{lib, ...}: let
|
|
inherit (lib.options) mkEnableOption mkOption;
|
|
inherit (lib.types) listOf;
|
|
inherit (lib.nvim.types) pluginType;
|
|
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.";
|
|
};
|
|
};
|
|
}
|