mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 02:11:33 +00:00
Merge pull request #884 from horriblename/cmp-sources-normal-prio
cmp: use normal priority for default of `sources`
This commit is contained in:
commit
d3c7f7125c
2 changed files with 11 additions and 2 deletions
|
@ -60,6 +60,11 @@ in {
|
|||
enableSharedCmpSources = true;
|
||||
|
||||
nvim-cmp = {
|
||||
sources = {
|
||||
nvim-cmp = null;
|
||||
buffer = "[Buffer]";
|
||||
path = "[Path]";
|
||||
};
|
||||
sourcePlugins = ["cmp-buffer" "cmp-path"];
|
||||
|
||||
setupOpts = {
|
||||
|
|
|
@ -98,11 +98,15 @@ in {
|
|||
|
||||
sources = mkOption {
|
||||
type = attrsOf (nullOr str);
|
||||
default = {
|
||||
defaultText = literalMD ''
|
||||
These sources are included by default:
|
||||
|
||||
```nix
|
||||
nvim-cmp = null;
|
||||
buffer = "[Buffer]";
|
||||
path = "[Path]";
|
||||
};
|
||||
```
|
||||
'';
|
||||
example = {
|
||||
nvim-cmp = null;
|
||||
buffer = "[Buffer]";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue