Mercurial > vim
changeset 1511:9c970d8681f4 v7.1.226
updated for version 7.1-226
author | vimboss |
---|---|
date | Sun, 13 Jan 2008 16:12:10 +0000 |
parents | 56fb4ab9f62f |
children | aa7c51f81f46 |
files | src/ex_docmd.c src/version.c |
diffstat | 2 files changed, 8 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -3338,12 +3338,13 @@ set_one_cmd_context(xp, buff) } in_quote = !in_quote; } + /* An argument can contain just about everything, except + * characters that end the command and white space. */ + else if (c == '|' || c == '\n' || c == '"' || (vim_iswhite(c) #ifdef SPACE_IN_FILENAME - else if (!vim_isfilec_or_wc(c) - && (!(ea.argt & NOSPC) || usefilter)) -#else - else if (!vim_isfilec_or_wc(c)) -#endif + && (!(ea.argt & NOSPC) || usefilter) +#endif + )) { while (*p != NUL) {