1
0
mirror of https://github.com/gryf/snipmate.vim.git synced 2026-02-21 10:35:45 +01:00

updated documentation with regards to comments in *.snippets files

This commit is contained in:
Michael Sanders
2009-03-26 14:07:57 -04:00
parent c82e7a27d1
commit 418c06ad4a

View File

@@ -1,7 +1,7 @@
*snipMate.txt* Plugin for using TextMate-style snippets in Vim. *snipMate.txt* Plugin for using TextMate-style snippets in Vim.
snipMate *snippet* *snippets* *snipMate* snipMate *snippet* *snippets* *snipMate*
Last Change: March 23, 2009 Last Change: March 26, 2009
|snipMate-description| Description |snipMate-description| Description
|snipMate-usage| Usage |snipMate-usage| Usage
@@ -54,6 +54,18 @@ only without the trigger declaration and starting indentation.
Also note that snippets must be defined using hard tabs. They can be expanded Also note that snippets must be defined using hard tabs. They can be expanded
to spaces later if desired (see |snipMate-indenting|). to spaces later if desired (see |snipMate-indenting|).
"#" is used as a line-comment character in *.snippets files; however, they can
only be used outside of a snippet declaration. E.g.: >
# this is a correct comment
snippet trigger
expanded text
snippet another_trigger
# this doesn't work!
expanded text
<
This should hopefully be obvious with the included syntax highlighting.
*snipMate-${#}* *snipMate-${#}*
Tab stops ~ Tab stops ~