forked from aniani/vim
updated for version 7.0d05
This commit is contained in:
@@ -3997,13 +3997,15 @@ addstar(fname, len, context)
|
||||
vim_strncpy(retval, fname, len);
|
||||
|
||||
/*
|
||||
* Don't add a star to ~, ~user, $var or `cmd`.
|
||||
* Don't add a star to *, ~, ~user, $var or `cmd`.
|
||||
* * would become **, which walks the whole tree.
|
||||
* ~ would be at the start of the file name, but not the tail.
|
||||
* $ could be anywhere in the tail.
|
||||
* ` could be anywhere in the file name.
|
||||
*/
|
||||
tail = gettail(retval);
|
||||
if ((*retval != '~' || tail != retval)
|
||||
&& (len == 0 || retval[len - 1] != '*')
|
||||
&& vim_strchr(tail, '$') == NULL
|
||||
&& vim_strchr(retval, '`') == NULL)
|
||||
retval[len++] = '*';
|
||||
|
||||
@@ -35,6 +35,6 @@
|
||||
*/
|
||||
#define VIM_VERSION_NODOT "vim70d"
|
||||
#define VIM_VERSION_SHORT "7.0d"
|
||||
#define VIM_VERSION_MEDIUM "7.0d04 BETA"
|
||||
#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0d04 BETA (2006 Apr 14)"
|
||||
#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0d04 BETA (2006 Apr 14, compiled "
|
||||
#define VIM_VERSION_MEDIUM "7.0d05 BETA"
|
||||
#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0d05 BETA (2006 Apr 15)"
|
||||
#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0d05 BETA (2006 Apr 15, compiled "
|
||||
|
||||
Reference in New Issue
Block a user