summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2009-07-14 19:40:21 +0000
committerBram Moolenaar <Bram@vim.org>2009-07-14 19:40:21 +0000
commit055a2ba10e52141200da0e3d9f66a030841275b5 (patch)
tree6be8d410fb496f03a100165df51bc92851f11d96 /runtime
parenta2974d70f14efecb7d8543659f90935eb89963db (diff)
updated for version 7.2-234v7.2.234
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/cmdline.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt
index 839536b21f..c87e61c089 100644
--- a/runtime/doc/cmdline.txt
+++ b/runtime/doc/cmdline.txt
@@ -441,13 +441,20 @@ between files with almost the same name. If there are multiple matches,
those files with an extension that is in the 'suffixes' option are ignored.
The default is ".bak,~,.o,.h,.info,.swp,.obj", which means that files ending
in ".bak", "~", ".o", ".h", ".info", ".swp" and ".obj" are sometimes ignored.
-It is impossible to ignore suffixes with two dots. Examples:
+
+An empty entry, two consecutive commas, match a file name that does not
+contain a ".", thus has no suffix. This is useful to ignore "prog" and prefer
+"prog.c".
+
+Examples:
pattern: files: match: ~
test* test.c test.h test.o test.c
test* test.h test.o test.h and test.o
test* test.i test.h test.c test.i and test.c
+It is impossible to ignore suffixes with two dots.
+
If there is more than one matching file (after ignoring the ones matching
the 'suffixes' option) the first file name is inserted. You can see that
there is only one match when you type 'wildchar' twice and the completed