branch: master
commit 83c174c96c097a495c4fdc961bd2521e6ed2bcd4
Merge: 987942c c128580
Author: João Távora <[email protected]>
Commit: João Távora <[email protected]>
Merge pull request #464 from kidd/master
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: