Skip to content

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

@ajzafar

Description

@ajzafar

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions