Skip to content

Commit

Permalink
updated documentation with regards to comments in *.snippets files
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Sanders committed Mar 26, 2009
1 parent c82e7a2 commit 418c06a
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion doc/snipMate.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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 ~

Expand Down

0 comments on commit 418c06a

Please sign in to comment.