We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 625c056 commit 2369eb0Copy full SHA for 2369eb0
tests/test-sources/plugins/cmp/all-sources.nix
@@ -103,4 +103,29 @@
103
};
104
105
106
+
107
+ both-impl-used = {
108
+ plugins = {
109
+ cmp = {
110
+ enable = true;
111
+ autoEnableSources = true;
112
+ settings.sources = [
113
+ { name = "cmp-emoji"; }
114
+ ];
115
+ };
116
+ cmp-git = {
117
118
+ cmp.enable = true;
119
120
121
+ test = {
122
+ buildNixvim = false;
123
+ warnings = expect: [
124
+ (expect "count" 1)
125
+ (expect "any" "Nixvim (plugins.cmp): You have enabled `autoEnableSources`")
126
+ (expect "any" "However, 1 plugins have cmp integration configured via `plugins.*.cmp`:")
127
+ (expect "any" "- `plugins.cmp-git`")
128
129
130
131
}
0 commit comments