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
When using snippets, in my case it's luasnip If an insert node has a placeholder value, i find myself in normal mode instead of insert mode.
Before the snippets refactor (at least from what i see in main, in the config) I found myself successfully in insert mode even if the snippets had a placeholder. (Up to this afternoon when I updated main and rewrite my config)
Here's a video of me having to go in insert mode:
insert.mode.mp4
Then if i remove the placeholder value from the same snippet:
insert.mode.2.mp4
Is this related to blink? Should i report it to blink_luasnip instead?
I'm also finding issues with expansion if the prefix is not a fullmatch but i've already open an issue
To add a bit more context, there might be an issue with the way expansion is handled.
After an exchange with @leiserfg I quote his response that may help you find the issue:
What I see happening, is that the trigger is being written to the buffer before calling execute, as if it were a regular text completion. And that messes up the logic to tell luasnip what region of the text to remove before expanding.
I know this is not exactly related to the placeholder part, let me know if you want me to open a different issue.
Make sure you have done the following
blink.cmp
Bug Description
When using snippets, in my case it's
luasnip
If an insert node has a placeholder value, i find myself in normal mode instead of insert mode.Before the snippets refactor (at least from what i see in main, in the config) I found myself successfully in insert mode even if the snippets had a placeholder. (Up to this afternoon when I updated main and rewrite my config)
Here's a video of me having to go in insert mode:
insert.mode.mp4
Then if i remove the placeholder value from the same snippet:
insert.mode.2.mp4
Is this related to blink? Should i report it to
blink_luasnip
instead?I'm also finding issues with expansion if the prefix is not a fullmatch but i've already open an issue
Relevant configuration
neovim version
v0.11.0-dev-1247+g5897994cb7
blink.cmp
version: branch, tag, or commitmain: 59add2d
The text was updated successfully, but these errors were encountered: