From ac8fd27eb2cfcb6a39487b6d69d082033e39f415 Mon Sep 17 00:00:00 2001 From: Michael Sanders Date: Mon, 13 Jul 2009 11:33:51 -0400 Subject: [PATCH] documented support for dotted filetype syntax --- doc/snipMate.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/doc/snipMate.txt b/doc/snipMate.txt index 83412fa..704d44a 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: July 12, 2009 +Last Change: July 13, 2009 |snipMate-description| Description |snipMate-syntax| Snippet syntax @@ -40,7 +40,12 @@ SYNTAX *snippet-syntax* Snippets can be defined in two ways. They can be in their own file, named after their trigger in 'snippets//.snippet', or they can be -defined together in a 'snippets/.snippets' file. +defined together in a 'snippets/.snippets' file. Note that dotted +'filetype' syntax is supported -- e.g., you can use > + + :set ft=html.eruby + +to activate snippets for both HTML and eRuby for the current file. The syntax for snippets in *.snippets files is the following: >