1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
return {
"hrsh7th/nvim-cmp",
dependencies = {
"hrsh7th/cmp-buffer",
"hrsh7th/cmp-path",
"hrsh7th/cmp-nvim-lua",
"hrsh7th/cmp-nvim-lsp",
"hrsh7th/cmp-cmdline",
"hrsh7th/cmp-git",
"saadparwaiz1/cmp_luasnip",
"onsails/lspkind-nvim",
{ "L3MON4D3/LuaSnip", version = "v1.*" },
"windwp/nvim-autopairs",
{
"zbirenbaum/copilot-cmp",
dependencies = {
"zbirenbaum/copilot.lua",
cmd = { "Copilot" },
event = { "VeryLazy" },
opts = {
suggestion = { enabled = false },
panel = { enabled = false },
},
},
config = true,
},
{
"uga-rosa/cmp-dictionary",
config = function()
local dict = require("cmp_dictionary")
dict.setup({
-- The following are default values.
exact = 2,
first_case_insensitive = false,
document = false,
document_command = "wn %s -over",
sqlite = false,
max_items = -1,
capacity = 5,
debug = false,
})
dict.switcher({
spelllang = {
es = "./../../spell/dic_es.dict",
},
})
end,
},
},
event = "VeryLazy",
config = function()
require "alpha.completition"
end,
}
|