add contents to faq.

This commit is contained in:
Zhang Chiyuan 2008-03-22 11:12:16 +00:00
parent e0a2762d9c
commit b312bc8c38

View File

@ -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.