You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 27, 2022. It is now read-only.
I have a slight issue with nvim-compe when using it against gopls. I think the LSP is forcing nvim-compe to preselect the first match, the other sources doesn't have this issue. Is it possible to force it not to preselect the first item? Or is it have to be done in the lsp level? I can't find any lsp setting for gopls that can disable this behaviour. Here's a video to make it clearer..
update: I think this is due to a bug on neovim side when using complete(). I don't know if this is the cause of this issue, but if it is then we'll just have to wait until it gets fixed.
The preselect is LSP's spec so nvim-compe will preselect it if the server returns it.
But your opinion is reasonable to me. I will add the option for it.
I have a slight issue with nvim-compe when using it against gopls. I think the LSP is forcing nvim-compe to preselect the first match, the other sources doesn't have this issue. Is it possible to force it not to preselect the first item? Or is it have to be done in the lsp level? I can't find any lsp setting for gopls that can disable this behaviour. Here's a video to make it clearer..
https://streamable.com/9wtp5r
..and here's a minimal vimrc to reproduce. Thanks in advance!
The text was updated successfully, but these errors were encountered: