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 }}
Repository navigation
Luasnip - After using snippets, tab key press triggers unexpected cursor jumps #1694
I have read the appropriate plugin's documentation.
I have searched that this issue has not been reported before.
By checking this, I confirm that the above steps are completed. I understand leaving this unchecked will result in this report being closed immediately.
Although reported before in a now closed issue, I believe this has never been fixed.
After using any snippet, when I turn back to inserting text manually, using the tab key to indent code will trigger an unexpected jump to the last snippet used.
To Reproduce
Use any snippet.
After editing the snippet, try to insert text in a new line
Use the tab key to add indentation on new line, cursor jumps unexpectedly to the last snippet location.
Activity
onur-tlntmr commentedon Oct 10, 2025
I can reproduce this issue.
Can someone help ?
Desktop:
wumtis commentedon Dec 3, 2025
Just add this wherever you want in
init.lua: