From ffc2533cec89f79e41c2a3bef736278165cc04dc Mon Sep 17 00:00:00 2001 From: PrashanthaTP Date: Sat, 1 Jan 2022 20:13:09 +0530 Subject: [PATCH] Fix(nvim): disable 'cmdline' intellisense by cmp removed 'cmdline' from nvim-cmp sources as a temporary fix. Parital-Bug: #18 --- .config/nvim/lua/plugins/nvim-cmp/init.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.config/nvim/lua/plugins/nvim-cmp/init.lua b/.config/nvim/lua/plugins/nvim-cmp/init.lua index 58231f3..e1777ed 100644 --- a/.config/nvim/lua/plugins/nvim-cmp/init.lua +++ b/.config/nvim/lua/plugins/nvim-cmp/init.lua @@ -104,6 +104,9 @@ cmp.setup({ -- Use buffer source for `/` (if you enabled `native_menu`, this won't work anymore). cmp.setup.cmdline("/", {sources = {{name = "buffer"}}}) -- Use cmdline & path source for ':' (if you enabled `native_menu`, this won't work anymore). +-- cmp.setup.cmdline(":", { - sources = cmp.config.sources({{name = "path"}}, {{name = "cmdline"}}) + -- sources = cmp.config.sources({{name = "path"}}, {{name = "cmdline"}}) + sources = cmp.config.sources({{name = "path"}}) + -- enabling cmdline has a issue currenlty in Neovim_0.6.0 })