DEV Community

Discussion on: Configure neovim for rust development

Collapse
 
destynova profile image
Oisín

Hmm. I don't know why, but the autocompletion with nvim-lsp / deocomplete-lsp seems to be messed up for me.
I have a struct with a field "curr". In a function that takes an instance of that struct, I typed "self." and got the pop with its fields including "curr". When I selected that with <C-n> (same with (super)tab), it inserted an extra copy of the whole line, so I ended up with self. self.curr instead of self.curr.

Might have to go back to Neovim 0.4.3 and/or use autozimu's language client plugin again.