Compare commits

..

No commits in common. "ad6e67034f508f5a7c91f5ef0a40bf3076d6fb33" and "e7d656d06bf0607e7243f40ff2201448915330e2" have entirely different histories.

2 changed files with 13 additions and 9 deletions

View file

@ -60,6 +60,12 @@ in {
enableSharedCmpSources = true;
nvim-cmp = {
sources = {
nvim-cmp = null;
buffer = "[Buffer]";
path = "[Path]";
};
sourcePlugins = ["cmp-buffer" "cmp-path"];
setupOpts = {

View file

@ -98,16 +98,14 @@ in {
sources = mkOption {
type = attrsOf (nullOr str);
default = {
nvim-cmp = null;
buffer = "[Buffer]";
path = "[Path]";
};
example = {
nvim-cmp = null;
buffer = "[Buffer]";
};
default = {};
description = "The list of sources used by nvim-cmp";
example = literalExpression ''
{
nvim-cmp = null;
buffer = "[Buffer]";
}
'';
};
sourcePlugins = mkOption {