enhancement: nicer `yas/new-snippet\' template

This commit is contained in:
Joao Tavora 2012-05-23 11:46:36 +01:00
parent c9bd102cb3
commit 33a07c3544

View File

@ -2341,7 +2341,7 @@ NO-TEMPLATE is non-nil."
(unless no-template (yas/expand-snippet "\
# -*- mode: snippet -*-
# name: $1
# key: $2${3:
# key: ${2:${1:$(replace-regexp-in-string \"\\\\\\\\(\\\\\\\\w+\\\\\\\\).*\" \"\\\\\\\\1\" yas/text)}}${3:
# binding: ${4:direct-keybinding}}${5:
# expand-env: ((${6:some-var} ${7:some-value}))}${8:
# type: command}