mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06: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:
parent
62d6564b09
commit
fca5a5e744
@ -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;
|
||||||
|
@ -222,7 +222,7 @@ static int included_patches[] = {
|
|||||||
//241,
|
//241,
|
||||||
//240,
|
//240,
|
||||||
//240,
|
//240,
|
||||||
//239,
|
239,
|
||||||
//238,
|
//238,
|
||||||
//237,
|
//237,
|
||||||
//236,
|
//236,
|
||||||
|
Loading…
Reference in New Issue
Block a user