From 418c06ad4a7cf7d057a21e5e8e17be7912a46531 Mon Sep 17 00:00:00 2001 From: Michael Sanders Date: Thu, 26 Mar 2009 14:07:57 -0400 Subject: [PATCH] updated documentation with regards to comments in *.snippets files --- doc/snipMate.txt | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/doc/snipMate.txt b/doc/snipMate.txt index e4c3954..a046204 100644 --- a/doc/snipMate.txt +++ b/doc/snipMate.txt @@ -1,7 +1,7 @@ *snipMate.txt* Plugin for using TextMate-style snippets in Vim. snipMate *snippet* *snippets* *snipMate* -Last Change: March 23, 2009 +Last Change: March 26, 2009 |snipMate-description| Description |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 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-${#}* Tab stops ~