mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 18:45:08 +02:00
Fix loading cmp config after Packer install (#1524)
This commit is contained in:
parent
ad86b19204
commit
e93c6abab7
1 changed files with 6 additions and 0 deletions
|
@ -38,6 +38,12 @@ return {
|
||||||
"hrsh7th/cmp-path",
|
"hrsh7th/cmp-path",
|
||||||
"hrsh7th/cmp-nvim-lua",
|
"hrsh7th/cmp-nvim-lua",
|
||||||
},
|
},
|
||||||
|
run = function()
|
||||||
|
-- cmp's config requires cmp to be installed to run the first time
|
||||||
|
if not lvim.builtin.cmp then
|
||||||
|
require("core.cmp").config()
|
||||||
|
end
|
||||||
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"rafamadriz/friendly-snippets",
|
"rafamadriz/friendly-snippets",
|
||||||
|
|
Loading…
Reference in a new issue