SnipMate is not clear when a snippet lacks a hard tab
ajzafar opened this issue · 0 comments
ajzafar commented
from @sphuff in another issue, moved here as it is a separate issue:
I'm seeing the same error when I have a malformed snippet.
Minimal reproduction:
snippet cl console.log($1)
Open a javascript file, and type
cl
- works correctly. Now modify the snippet to the incorrectsnippet cl console.log($1)
The open
nvim
window will have the following error after typing the snippet, even after the snippet is fixed:Error detected while processing function snipMate#TriggerSnippet[43]..<SNR>83_state_jump_stop[4]..<SNR>83_state_update_changes:
I had to fix the snippet and reopen a new
nvim
window to fix. This is obviously a case of user error, but a more detailed error message would be helpful