mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00
yasnippet templates don't add newlines
This commit is contained in:
parent
987942c513
commit
c128580598
@ -185,7 +185,7 @@ as the default for storing the user's new snippets."
|
|||||||
(defvaralias 'yas/root-directory 'yas-snippet-dirs)
|
(defvaralias 'yas/root-directory 'yas-snippet-dirs)
|
||||||
|
|
||||||
(defcustom yas-new-snippet-default "\
|
(defcustom yas-new-snippet-default "\
|
||||||
# -*- mode: snippet -*-
|
# -*- mode: snippet; require-final-newline: nil -*-
|
||||||
# name: $1
|
# name: $1
|
||||||
# key: ${2:${1:$(yas--key-from-desc yas-text)}}${3:
|
# key: ${2:${1:$(yas--key-from-desc yas-text)}}${3:
|
||||||
# binding: ${4:direct-keybinding}}${5:
|
# binding: ${4:direct-keybinding}}${5:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user