mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.3.214
Problem: The text displayed by ":z-" isn't exactly like old Vi. Solution: Add one to the start line number. (ChangZhuo Chen)
This commit is contained in:
@@ -4097,8 +4097,8 @@ ex_z(eap)
|
|||||||
switch (*kind)
|
switch (*kind)
|
||||||
{
|
{
|
||||||
case '-':
|
case '-':
|
||||||
start = lnum - bigness * (linenr_T)(x - kind);
|
start = lnum - bigness * (linenr_T)(x - kind) + 1;
|
||||||
end = start + bigness;
|
end = start + bigness - 1;
|
||||||
curs = end;
|
curs = end;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@@ -709,6 +709,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 */
|
||||||
|
/**/
|
||||||
|
214,
|
||||||
/**/
|
/**/
|
||||||
213,
|
213,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user