-
Notifications
You must be signed in to change notification settings - Fork 201
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
Duplicate snippets with Luasnip preset #1081
Comments
I have a similar case, but I noticed that the duplication occurs only when using the new syntax
With the previous syntax this does not happen.
|
Seems to be introduced in 712af9f |
Thanks @ruslanSorokin |
I have not yet identified under what conditions but there seems to be edge cases where duplicates are still produced. It happened to me twice today that at some point, duplicates would start showing up until I restart Nvim. |
Make sure you have done the following
blink.cmp
<C-k>
on https://cmp.saghen.dev)Bug Description
After commit c4eafc1, when you have Luasnip enabled in your personal configuration and you also set
snippets.preset = "luasnip"
, you get duplicate snippets. Reverting to the previous commit does correctly show snippets only one time.After c4eafc1 screenshot
Before c4eafc1 screenshot
Somehow the prefetch on insert gets duplicate items for Luasnip snippets.
Relevant configuration
neovim
versionNVIM v0.11.0-dev-1633+g851137f679
blink.cmp
versionmain
The text was updated successfully, but these errors were encountered: