hrsh7th / nvim-cmp

A completion plugin for neovim coded in Lua.
MIT License
7.45k stars 370 forks source link

Suggestions disappearing #1838

Closed hb0nes closed 4 months ago

hb0nes commented 4 months ago

Using Rust Analyzer.

Typing just an r, I am interested in read_to_string: image

As soon as I type read: image

It's gone image

Originally posted by @hb0nes in https://github.com/hrsh7th/nvim-cmp/issues/1831#issuecomment-1967467634

Repeatable config:

https://github.com/hrsh7th/nvim-cmp/blob/main/utils/vimrc.vim

Appended:

require'lspconfig'.rust_analyzer.setup {
  capabilities = capabilities,
 }

edit: I have reason to believe this is rust-analyzer's behaviour.