mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 12:08:33 +00:00
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:

committed by
Thiago de Arruda

parent
62d6564b09
commit
fca5a5e744
@@ -3924,7 +3924,7 @@ static char_u *getargcmd(char_u **argp)
|
||||
|
||||
if (*arg == '+') { /* +[command] */
|
||||
++arg;
|
||||
if (vim_isspace(*arg))
|
||||
if (vim_isspace(*arg) || *arg == '\0')
|
||||
command = dollar_command;
|
||||
else {
|
||||
command = arg;
|
||||
|
@@ -222,7 +222,7 @@ static int included_patches[] = {
|
||||
//241,
|
||||
//240,
|
||||
//240,
|
||||
//239,
|
||||
239,
|
||||
//238,
|
||||
//237,
|
||||
//236,
|
||||
|
Reference in New Issue
Block a user