Skip to content

Programmatically Inserting Snippet #230

@flukus

Description

@flukus

Is there/could there be, a way to insert snippets programmatically?

For example, as part of another script I want to have a AddClass fucntion that creates a file in the right place and inserts a snippet. Rather than trying to insert text and feeding the tab key etc, which feels quite hacky and fragile, it would be nice to be able to call snpmate#InsertSnipmate('MySnippet').

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