mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00
enhancement: nicer `yas/new-snippet\' template
This commit is contained in:
parent
c9bd102cb3
commit
33a07c3544
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user