branch: master commit 8ced5c7f1d3d9128f4581accf3450710b6404b99 Author: Noam Postavsky <npost...@users.sourceforge.net> Commit: Noam Postavsky <npost...@users.sourceforge.net>
Remove type, expand-env from new snippet value They are seldom used, and can cause errors if left in. * yasnippet.el (yas-new-snippet-default): Remove type and expand-env directives. --- yasnippet.el | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/yasnippet.el b/yasnippet.el index 9d4764d..eeea636 100644 --- a/yasnippet.el +++ b/yasnippet.el @@ -188,9 +188,7 @@ as the default for storing the user's new snippets." # -*- mode: snippet; require-final-newline: nil -*- # name: $1 # key: ${2:${1:$(yas--key-from-desc yas-text)}}${3: -# binding: ${4:direct-keybinding}}${5: -# expand-env: ((${6:some-var} ${7:some-value}))}${8: -# type: command} +# binding: ${4:direct-keybinding}} # -- $0" "Default snippet to use when creating a new snippet.