-
Notifications
You must be signed in to change notification settings - Fork 233
Accepting a function completion duplicates it when using auto_insert #117
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
Comments
Can confirm that I also have the issue |
It seems to happen with regular snippets (non-LSP) as well. |
Thank you! |
Thanks! Sounds like there's still edge cases so I'll keep it open. And yeah, I also thought about correctly positioning the cursor but didn't get around to it yet |
I'm hitting a few other edge cases:
blink_clear.mp4 |
I've had simmillar problem with nvim-cmp, try setting vim.opt.completeopt = '' in your config |
Latest commits place the cursor at the first tab stop, fix 1 char snippets not closing the menu on accept and many remaining duplication cases. Closing again, but feel free to re-open if there's more issues |
Just tested it and it works perfectly, thank you so much! |
Thank you for the plugin!
Although it's early, it's almost a perfect replacement for cmp for me.
I've been hitting this issue when accepting completions for functions:
blink_fn_commit.mp4
I tried setting insertReplaceSupport=false, is it related to that somehow?
Thank you!
Config: https://github.com/3rd/config/blob/c869af41ab08470fdc169b7873a94c0ae130faff/dotfiles/nvim/lua/modules/completion/blink.lua
The text was updated successfully, but these errors were encountered: