simrat39 / rust-tools.nvim

Tools for better development in rust using neovim's builtin lsp
MIT License
2.17k stars 159 forks source link

[Question] Anyone knows why my `completeopt` isn't respected? #333

Closed pro-anon closed 1 year ago

pro-anon commented 1 year ago

Running set completeopt? shows this completeopt=menu,menuone,noinsert,noselect,preview which I want. I don't want nvim-cmp to automatically select the first entry in the auto-completion list. Yet, when rust lsp starts it selects the first entry image

mrdicksteel commented 1 year ago
cmp.setup({
   preselect = cmp.PreselectMode.None,
   -- what ever else
   },