• R/O
  • SSH

vim: Commit

Mirror of the Vim source from https://github.com/vim/vim


Commit MetaInfo

Révisionfd68db1a72b5f05cc5e586ffe89a10ec6930005d (tree)
l'heure2008-01-04 23:17:47
Auteurvimboss
Commitervimboss

Message de Log

updated for version 7.1-199

Change Summary

Modification

diff -r 05b48b16b627 -r fd68db1a72b5 runtime/doc/cmdline.txt
--- a/runtime/doc/cmdline.txt Fri Jan 04 13:53:09 2008 +0000
+++ b/runtime/doc/cmdline.txt Fri Jan 04 14:17:47 2008 +0000
@@ -1,4 +1,4 @@
1-*cmdline.txt* For Vim version 7.1. Last change: 2006 Jul 18
1+*cmdline.txt* For Vim version 7.1. Last change: 2008 Jan 04
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -316,7 +316,7 @@
316316 command-line is shown. (Note: the shifted arrow keys do not work on all
317317 terminals)
318318
319- *his* *:history*
319+ *:his* *:history*
320320 :his[tory] Print the history of last entered commands.
321321 {not in Vi}
322322 {not available when compiled without the |+cmdline_hist|
@@ -447,6 +447,11 @@
447447
448448 To completely ignore files with some extension use 'wildignore'.
449449
450+To match only files that end at the end of the typed text append a "$". For
451+example, to match only files that end in ".c": >
452+ :e *.c$
453+This will not match a file ending in ".cpp". Without the "$" it does match.
454+
450455 The old value of an option can be obtained by hitting 'wildchar' just after
451456 the '='. For example, typing 'wildchar' after ":set dir=" will insert the
452457 current value of 'dir'. This overrules file name completion for the options
diff -r 05b48b16b627 -r fd68db1a72b5 src/ex_getln.c
--- a/src/ex_getln.c Fri Jan 04 13:53:09 2008 +0000
+++ b/src/ex_getln.c Fri Jan 04 14:17:47 2008 +0000
@@ -4078,6 +4078,7 @@
40784078 * ~ would be at the start of the file name, but not the tail.
40794079 * $ could be anywhere in the tail.
40804080 * ` could be anywhere in the file name.
4081+ * When the name ends in '$' don't add a star, remove the '$'.
40814082 */
40824083 tail = gettail(retval);
40834084 if ((*retval != '~' || tail != retval)
@@ -4085,6 +4086,8 @@
40854086 && vim_strchr(tail, '$') == NULL
40864087 && vim_strchr(retval, '`') == NULL)
40874088 retval[len++] = '*';
4089+ else if (len > 0 && retval[len - 1] == '$')
4090+ --len;
40884091 retval[len] = NUL;
40894092 }
40904093 }
diff -r 05b48b16b627 -r fd68db1a72b5 src/version.c
--- a/src/version.c Fri Jan 04 13:53:09 2008 +0000
+++ b/src/version.c Fri Jan 04 14:17:47 2008 +0000
@@ -667,6 +667,8 @@
667667 static int included_patches[] =
668668 { /* Add new patch number below this line */
669669 /**/
670+ 199,
671+/**/
670672 198,
671673 /**/
672674 197,
Afficher sur ancien navigateur de dépôt.