plugins/cmp: refactor source->plugin association

Introduce the internal option `cmpSourcePlugins` where plugins can
register their nvim-cmp source name association.
This commit is contained in:
Matt Sturgeon 2024-06-29 08:26:56 +01:00
parent bd422db9ba
commit 3a8d4fee35
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
6 changed files with 137 additions and 100 deletions

View file

@ -57,7 +57,6 @@ let
inherit pkgs lib helpers;
config = { };
};
cmp-sources = import ../plugins/completion/cmp/sources.nix;
};
inherit namespace;
}