From d7f0011c35d415a74bf6328362297ab959df95fc Mon Sep 17 00:00:00 2001 From: newbie Date: Mon, 18 Dec 2023 23:04:33 +0800 Subject: [PATCH] update --- lua/plugs/nvim-lspconfig.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lua/plugs/nvim-lspconfig.lua b/lua/plugs/nvim-lspconfig.lua index 9d6e316..15a5b47 100644 --- a/lua/plugs/nvim-lspconfig.lua +++ b/lua/plugs/nvim-lspconfig.lua @@ -208,6 +208,10 @@ return { view = { entries = { name = 'wildmenu', separator = '|' } }, + sources = cmp.config.sources({ + { name = 'path' }, + { name = 'cmdline' }, + }), mapping = cmp.mapping.preset.insert({ [''] = cmp.mapping.confirm({ select = true }), [""] = cmp.mapping(function(fallback)