mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-23 18:56:13 +02:00
feat: cmdline config option enables cmp-cmdline plugin (#3719)
* feat: automatically enable cmp-cmdline when setting setup option * chore: lint * fix: workaround for installer when cmp table is nil
This commit is contained in:
parent
f4ec3fc620
commit
8cc1cc6206
1 changed files with 6 additions and 0 deletions
|
@ -52,12 +52,18 @@ local core_plugins = {
|
||||||
"cmp_luasnip",
|
"cmp_luasnip",
|
||||||
"cmp-buffer",
|
"cmp-buffer",
|
||||||
"cmp-path",
|
"cmp-path",
|
||||||
|
"cmp-cmdline",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{ "hrsh7th/cmp-nvim-lsp", lazy = true },
|
{ "hrsh7th/cmp-nvim-lsp", lazy = true },
|
||||||
{ "saadparwaiz1/cmp_luasnip", lazy = true },
|
{ "saadparwaiz1/cmp_luasnip", lazy = true },
|
||||||
{ "hrsh7th/cmp-buffer", lazy = true },
|
{ "hrsh7th/cmp-buffer", lazy = true },
|
||||||
{ "hrsh7th/cmp-path", lazy = true },
|
{ "hrsh7th/cmp-path", lazy = true },
|
||||||
|
{
|
||||||
|
"hrsh7th/cmp-cmdline",
|
||||||
|
lazy = true,
|
||||||
|
enabled = lvim.builtin.cmp and lvim.builtin.cmp.cmdline.enable or false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"L3MON4D3/LuaSnip",
|
"L3MON4D3/LuaSnip",
|
||||||
config = function()
|
config = function()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue