-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose Insert vs. Replace accept behaviour #58
Comments
I'm not sure if this is the same issue but I'm still facing something similar. Consider (in lua): local foo = { bar = {} } When I type foo. and I select and accept If instead I type foo.b and then accept You can see this behavior in the following video: https://github.com/user-attachments/assets/f2bcacb2-412e-466a-b1e4-c9169fa785a9As a side note, when I type foo. the completion menu also displays snippets, such as |
Sounds like a different issue, but it should be fixed by fc348da |
closes Saghen#58 This behavior wasn't obvious and wasn't consistent since it only applied to LSPs which didn't pass textEdits. This may be re-introduced behind a flag in the future
closes Saghen#58 This behavior wasn't obvious and wasn't consistent since it only applied to LSPs which didn't pass textEdits. This may be re-introduced behind a flag in the future
Some LSP's like gopls and lua_ls are replacing instead of inserting when a completion is accepted. In Lua_ls' case this was not happening with nvim-cmp, so at least for Lua it seems to be caused by the plugin.
To exemplify what I mean: if I place my cursor at the beginning of the word foo and get a completion for bar, I'd expect to get barfoo, but get only bar.
Here is my config for blink and some LSP stuff just to make sure the problem is not there.
The text was updated successfully, but these errors were encountered: