File tree 8 files changed +41
-27
lines changed
tests/test-sources/plugins/by-name
8 files changed +41
-27
lines changed Original file line number Diff line number Diff line change 3
3
# We do not provide the required HF_API_KEY environment variable.
4
4
test . runNvim = false ;
5
5
6
- plugins . cmp = {
7
- enable = true ;
8
- settings . sources = [ { name = "cmp_ai" ; } ] ;
6
+ plugins = {
7
+ cmp . enable = true ;
8
+ cmp-ai . enable = true ;
9
9
} ;
10
10
} ;
11
11
14
14
test . runNvim = false ;
15
15
16
16
plugins = {
17
- cmp = {
18
- enable = true ;
19
- settings . sources = [ { name = "cmp_ai" ; } ] ;
20
- } ;
17
+ cmp . enable = true ;
18
+ cmp-ai . enable = true ;
21
19
cmp-ai . settings = {
22
20
max_lines = 1000 ;
23
21
provider = "HF" ;
Original file line number Diff line number Diff line change 1
1
{
2
2
defaults = {
3
3
plugins = {
4
- cmp = {
5
- enable = true ;
6
- settings . sources = [ { name = "git" ; } ] ;
7
- } ;
4
+ cmp . enable = true ;
8
5
6
+ cmp-git . enable = true ;
9
7
cmp-git . settings = {
10
8
filetypes = [
11
9
"gitcommit"
140
138
141
139
example = {
142
140
plugins = {
143
- cmp = {
144
- enable = true ;
145
- settings . sources = [ { name = "git" ; } ] ;
146
- } ;
141
+ cmp . enable = true ;
147
142
143
+ cmp-git . enable = true ;
148
144
cmp-git . settings = {
149
145
remotes = [
150
146
"upstream"
Original file line number Diff line number Diff line change 1
1
{
2
2
empty = {
3
- plugins . cmp = {
4
- enable = true ;
5
- settings . sources = [ { name = "cmp_tabby" ; } ] ;
6
- } ;
3
+ plugins . cmp . enable = true ;
4
+ plugins . cmp-tabby . enable = true ;
7
5
} ;
8
6
9
7
defaults = {
10
8
plugins = {
11
9
cmp = {
12
10
enable = true ;
13
- settings . sources = [ { name = "cmp_tabby" ; } ] ;
14
11
} ;
12
+ cmp-tabby . enable = true ;
15
13
cmp-tabby . settings = {
16
14
host = "http://localhost:5000" ;
17
15
max_lines = 100 ;
Original file line number Diff line number Diff line change 2
2
empty = {
3
3
plugins . codeium-nvim = {
4
4
enable = true ;
5
+ cmp . enable = false ;
5
6
settings . enable_cmp_source = false ;
6
7
} ;
7
8
} ;
8
9
9
10
enabled-by-cmp = {
10
- plugins . cmp = {
11
- enable = true ;
12
-
13
- settings . sources = [ { name = "codeium" ; } ] ;
11
+ plugins = {
12
+ cmp . enable = true ;
13
+ codeium-nvim = {
14
+ enable = true ;
15
+ settings . enable_cmp_source = false ;
16
+ } ;
14
17
} ;
15
18
} ;
16
19
Original file line number Diff line number Diff line change 1
1
{
2
2
empty = {
3
- plugins . copilot-cmp . enable = true ;
3
+ plugins . copilot-cmp = {
4
+ enable = true ;
5
+ cmp . enable = false ;
6
+ } ;
4
7
} ;
5
8
6
9
defaults = {
7
- plugins . copilot-cmp = {
8
- enable = true ;
10
+ plugins = {
11
+ cmp . enable = true ;
12
+ copilot-cmp . enable = true ;
9
13
} ;
10
14
} ;
11
15
}
Original file line number Diff line number Diff line change 1
1
{
2
2
empty = {
3
3
plugins . crates . enable = true ;
4
+ # Explicit disable to suppress warnings
5
+ plugins . cmp . enable = false ;
4
6
} ;
5
7
6
8
defaults = {
202
204
} ;
203
205
} ;
204
206
} ;
207
+ # Explicit disable to suppress warnings
208
+ plugins . cmp . enable = false ;
205
209
} ;
206
210
207
211
example = {
214
218
autoupdate = true ;
215
219
} ;
216
220
} ;
221
+ # Explicit disable to suppress warnings
222
+ plugins . cmp . enable = false ;
217
223
} ;
218
224
}
Original file line number Diff line number Diff line change 1
1
{
2
2
empty = {
3
3
plugins . papis . enable = true ;
4
+ plugins . papis . cmp . enable = false ;
4
5
} ;
5
6
6
7
defaults = {
8
+ plugins . cmp . enable = true ;
7
9
plugins . papis = {
8
10
enable = true ;
9
11
328
330
} ;
329
331
330
332
example = {
333
+ plugins . cmp . enable = true ;
331
334
plugins . papis = {
332
335
enable = true ;
333
336
Original file line number Diff line number Diff line change 1
1
{
2
2
empty = {
3
3
plugins . vim-dadbod-completion . enable = true ;
4
+ plugins . vim-dadbod-completion . cmp . enable = false ;
5
+ } ;
6
+
7
+ with-cmp = {
8
+ plugins . cmp . enable = true ;
9
+ plugins . vim-dadbod-completion . enable = true ;
4
10
} ;
5
11
}
You can’t perform that action at this time.
0 commit comments