From 17954d27e342cf2f7071137c8adb9c84495ce111 Mon Sep 17 00:00:00 2001 From: Federico Galassi Date: Fri, 11 May 2012 10:24:22 +0200 Subject: [PATCH] fixed error in documentation about file pattern for snippets files --- doc/UltiSnips.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/UltiSnips.txt b/doc/UltiSnips.txt index a74e30c..96e00c4 100644 --- a/doc/UltiSnips.txt +++ b/doc/UltiSnips.txt @@ -344,7 +344,7 @@ with snippet definitions should be located. Using a strategy similar to how Vim detects |ftplugins|, UltiSnips iterates over the snippet definition directories looking for files with names of the -following patterns: ft.snippets, *_ft.snippets, or ft/*, where "ft" is the +following patterns: ft.snippets, ft_*.snippets, or ft/*, where "ft" is the 'filetype' of the current document and "*" is a shell-like wildcard matching any string including the empty string. The following table shows some typical snippet filenames and their associated filetype. @@ -353,7 +353,7 @@ snippet filenames and their associated filetype. ruby.snippets ruby perl.snippets perl c.snippets c - my_c.snippets c + c_my.snippets c c/a c c/b.snippets c all.snippets *all