mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00
add contents to faq.
This commit is contained in:
parent
e0a2762d9c
commit
b312bc8c38
13
doc/faq.rst
13
doc/faq.rst
@ -6,5 +6,14 @@ How to define a snippet ?
|
||||
:Contact: pluskid@gmail.com
|
||||
:Date: 2008-03-20
|
||||
|
||||
Coming soon. Currently please refer to the online `Tips wiki page
|
||||
<http://code.google.com/p/yasnippet/wiki/Tips>`_.
|
||||
Why there's an extra newline?
|
||||
=============================
|
||||
|
||||
If you have a newline at the end of the snippet definition file, then
|
||||
YASnippet will add a newline when you expanding a snippet. Please
|
||||
don't add a newline at the end if you don't want it when you saving
|
||||
the snippet file.
|
||||
|
||||
Note some editors will automatically add a newline for you. In Emacs,
|
||||
if you set ``require-final-newline`` to ``t``, it will add the final
|
||||
newline for you automatically.
|
||||
|
Loading…
x
Reference in New Issue
Block a user