Closed ten3roberts closed 1 year ago
https://user-images.githubusercontent.com/1681295/200306694-036a55a7-d25a-464f-8b02-80f59a9ec279.mp4
Not quite sure I understand the issue you mentioned. The change you mentioned is only related to when the signature pops up with trigger key.
The issue occurs for rust-analyzer, sumneko_lua, and user snippets which expand to a function.
Removing the call to the lsp_signature.on_attach
solves it.
It seems that updating all plugins solved the issue, but neither LuaSnip nor lsp_signature was updated.
You can close this issue as it seems solved, though by what is unclear, and I do not know exactly everything that went into the plugin update. If anyone else stumbles upon this it can reopen
The commit 7a1845e8b5fc68dc5ea2a1a7d2d2b04395b6b190 caused this behavior.
What happens is then a snippet (like the lsp function call snippet) is expanded, select mode is entered on the parameters.
When lsp_signature opens because we are in a function, it causes the mode to go back to insert mode, which exits the current node in the snippet. Jumping forwards and back in snippets still work, but each time the signature appears, the selected node is lost and you are placed in insert mode, which means you manually have to delete and type the placeholder text
Setup