vim-patch:7.4.239

Problem:  ":e +" does not position cursor at end of the file.

Solution: Check for "+" being the last character (ZyX)

https://code.google.com/p/vim/source/detail?r=98bfec9ea7608f312129475d4ca0ae6d1c6c232e
This commit is contained in:
Marco Hinz 2014-04-14 15:40:57 +02:00 committed by Thiago de Arruda
parent 62d6564b09
commit fca5a5e744
2 changed files with 2 additions and 2 deletions

View File

@ -3924,7 +3924,7 @@ static char_u *getargcmd(char_u **argp)
if (*arg == '+') { /* +[command] */ if (*arg == '+') { /* +[command] */
++arg; ++arg;
if (vim_isspace(*arg)) if (vim_isspace(*arg) || *arg == '\0')
command = dollar_command; command = dollar_command;
else { else {
command = arg; command = arg;

View File

@ -222,7 +222,7 @@ static int included_patches[] = {
//241, //241,
//240, //240,
//240, //240,
//239, 239,
//238, //238,
//237, //237,
//236, //236,