snippet

Parse a snippet template and return a function that, when called, applies the snippet at the given range in the editor.

Template syntax: ${name} for named fields that the user can tab through. ${} marks the final cursor position.