cmp: use normal priority for default values

After this change, user configs should be "appended" to default ones
instead of overriding them
This commit is contained in:
Ching Pei Yang 2025-05-05 22:30:27 +02:00
commit 61be6cf405
No known key found for this signature in database
GPG key ID: B3841364253DC4C8
2 changed files with 11 additions and 2 deletions

View file

@ -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]";