Skip to content
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

SnipMate is not clear when a snippet lacks a hard tab #284

Open
ajzafar opened this issue Oct 23, 2021 · 0 comments
Open

SnipMate is not clear when a snippet lacks a hard tab #284

ajzafar opened this issue Oct 23, 2021 · 0 comments
Assignees

Comments

@ajzafar
Copy link
Collaborator

ajzafar commented Oct 23, 2021

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 incorrect

snippet 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

@ajzafar ajzafar self-assigned this Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant