mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 16:39:06 +02:00
fix(nvim-cmp): specs
This commit is contained in:
parent
e6d6a096b3
commit
88e77b0e24
1 changed files with 1 additions and 10 deletions
|
@ -48,6 +48,7 @@ return {
|
||||||
end,
|
end,
|
||||||
}),
|
}),
|
||||||
sources = cmp.config.sources({
|
sources = cmp.config.sources({
|
||||||
|
{ name = "lazydev" },
|
||||||
{ name = "nvim_lsp" },
|
{ name = "nvim_lsp" },
|
||||||
{ name = "path" },
|
{ name = "path" },
|
||||||
}, {
|
}, {
|
||||||
|
@ -86,19 +87,9 @@ return {
|
||||||
main = "lazyvim.util.cmp",
|
main = "lazyvim.util.cmp",
|
||||||
},
|
},
|
||||||
|
|
||||||
-- Add lazydev source to cmp
|
|
||||||
{
|
|
||||||
"hrsh7th/nvim-cmp",
|
|
||||||
optional = true,
|
|
||||||
opts = function(_, opts)
|
|
||||||
table.insert(opts.sources, { name = "lazydev", group_index = 0 })
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
|
|
||||||
-- snippets
|
-- snippets
|
||||||
{
|
{
|
||||||
"nvim-cmp",
|
"nvim-cmp",
|
||||||
optional = true,
|
|
||||||
dependencies = {
|
dependencies = {
|
||||||
{
|
{
|
||||||
"garymjr/nvim-snippets",
|
"garymjr/nvim-snippets",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue