[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 88b7950 6/8: Reduce `yas-new-snippet-default'
From: |
João Távora |
Subject: |
[elpa] master 88b7950 6/8: Reduce `yas-new-snippet-default' |
Date: |
Mon, 07 Mar 2016 08:50:21 +0000 |
branch: master
commit 88b79505547be31f534a03a871ac98788e1455e3
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>
Reduce `yas-new-snippet-default'
* yasnippet.el (yas-new-snippet-default): Remove
"require-final-newline: nil", it's redundant since `snippet-mode' already
sets that. Also remove the direct-keybinding, since it's hardly ever
used, and often the literal "# binding: direct-keybinding" ends up in
actual snippets.
---
yasnippet.el | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/yasnippet.el b/yasnippet.el
index 6ada52e..69d6b26 100644
--- a/yasnippet.el
+++ b/yasnippet.el
@@ -202,10 +202,9 @@ created with `yas-new-snippet'. "
(defvaralias 'yas/root-directory 'yas-snippet-dirs)
(defcustom yas-new-snippet-default "\
-# -*- mode: snippet; require-final-newline: nil -*-
+# -*- mode: snippet -*-
# name: $1
-# key: ${2:${1:$(yas--key-from-desc yas-text)}}${3:
-# binding: ${4:direct-keybinding}}
+# key: ${2:${1:$(yas--key-from-desc yas-text)}}
# --
$0"
"Default snippet to use when creating a new snippet.
- [elpa] master updated (ab7d7f3 -> 9983491), João Távora, 2016/03/07
- [elpa] master 4a6d923 1/8: Slightly improve on fix for #515: Refactor code and add tests, João Távora, 2016/03/07
- [elpa] master acf2cdd 2/8: Decide field clearing commands based on delsel, João Távora, 2016/03/07
- [elpa] master 80941c0 3/8: Update snippets submodule, João Távora, 2016/03/07
- [elpa] master 42601d2 4/8: Apply changes from GNU ELPA, João Távora, 2016/03/07
- [elpa] master 8632262 5/8: Don't use yas-x-prompt by default, João Távora, 2016/03/07
- [elpa] master 88b7950 6/8: Reduce `yas-new-snippet-default',
João Távora <=
- [elpa] master 572c73d 7/8: Avoid error in case this-command isn't a symbol., João Távora, 2016/03/07
- [elpa] master 9983491 8/8: Update packages/yasnippet by subtree-merging from its github-based upstream, João Távora, 2016/03/07