Skip to content

Commit

Permalink
Fix(nvim): disable 'cmdline' intellisense by cmp
Browse files Browse the repository at this point in the history
removed 'cmdline' from nvim-cmp sources as a temporary fix.

Parital-Bug: #18
  • Loading branch information
PrashanthaTP committed Jan 1, 2022
1 parent c768ac7 commit ffc2533
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .config/nvim/lua/plugins/nvim-cmp/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
})

0 comments on commit ffc2533

Please sign in to comment.