I would like to know how to append a default string to a placeholder.
For example, I currently have:
# -*- mode: snippet -*-
# name: render template
# key: rt
# group: Flask
# contributor: Jon Rostran
# --
render_template("${0:index.html}")
But I would like for rt
to expand to render_template("|.html")
where the |
is my cursor position after expansion.