mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-16 15:30:50 +00:00
Compare commits
No commits in common. "ad6e67034f508f5a7c91f5ef0a40bf3076d6fb33" and "e7d656d06bf0607e7243f40ff2201448915330e2" have entirely different histories.
ad6e67034f
...
e7d656d06b
2 changed files with 13 additions and 9 deletions
|
|
@ -60,6 +60,12 @@ in {
|
||||||
enableSharedCmpSources = true;
|
enableSharedCmpSources = true;
|
||||||
|
|
||||||
nvim-cmp = {
|
nvim-cmp = {
|
||||||
|
sources = {
|
||||||
|
nvim-cmp = null;
|
||||||
|
buffer = "[Buffer]";
|
||||||
|
path = "[Path]";
|
||||||
|
};
|
||||||
|
|
||||||
sourcePlugins = ["cmp-buffer" "cmp-path"];
|
sourcePlugins = ["cmp-buffer" "cmp-path"];
|
||||||
|
|
||||||
setupOpts = {
|
setupOpts = {
|
||||||
|
|
|
||||||
|
|
@ -98,16 +98,14 @@ in {
|
||||||
|
|
||||||
sources = mkOption {
|
sources = mkOption {
|
||||||
type = attrsOf (nullOr str);
|
type = attrsOf (nullOr str);
|
||||||
default = {
|
default = {};
|
||||||
nvim-cmp = null;
|
|
||||||
buffer = "[Buffer]";
|
|
||||||
path = "[Path]";
|
|
||||||
};
|
|
||||||
example = {
|
|
||||||
nvim-cmp = null;
|
|
||||||
buffer = "[Buffer]";
|
|
||||||
};
|
|
||||||
description = "The list of sources used by nvim-cmp";
|
description = "The list of sources used by nvim-cmp";
|
||||||
|
example = literalExpression ''
|
||||||
|
{
|
||||||
|
nvim-cmp = null;
|
||||||
|
buffer = "[Buffer]";
|
||||||
|
}
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
sourcePlugins = mkOption {
|
sourcePlugins = mkOption {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue