forked from aniani/vim
updated for version 7.4.239
Problem: ":e +" does not position cursor at end of the file. Solution: Check for "+" being the last character (ZyX)
This commit is contained in:
@@ -4841,7 +4841,7 @@ getargcmd(argp)
|
|||||||
if (*arg == '+') /* +[command] */
|
if (*arg == '+') /* +[command] */
|
||||||
{
|
{
|
||||||
++arg;
|
++arg;
|
||||||
if (vim_isspace(*arg))
|
if (vim_isspace(*arg) || *arg == NUL)
|
||||||
command = dollar_command;
|
command = dollar_command;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@@ -734,6 +734,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
239,
|
||||||
/**/
|
/**/
|
||||||
238,
|
238,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user