branch: master
commit c128580598b8b548616da28930b9382e18d5394f
Author: Raimon Grau <[email protected]>
Commit: Raimon Grau <[email protected]>
yasnippet templates don't add newlines
---
yasnippet.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/yasnippet.el b/yasnippet.el
index 269d008..608cccf 100644
--- a/yasnippet.el
+++ b/yasnippet.el
@@ -185,7 +185,7 @@ as the default for storing the user's new snippets."
(defvaralias 'yas/root-directory 'yas-snippet-dirs)
(defcustom yas-new-snippet-default "\
-# -*- mode: snippet -*-
+# -*- mode: snippet; require-final-newline: nil -*-
# name: $1
# key: ${2:${1:$(yas--key-from-desc yas-text)}}${3:
# binding: ${4:direct-keybinding}}${5: