mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:7.4.521
Problem: When using "vep" a mark is moved to the next line. (Maxi Padulo, Issue 283) Solution: Decrement the line number. (Christian Brabandt) https://code.google.com/p/vim/source/detail?r=v7-4-521
This commit is contained in:
parent
f13b90c064
commit
0439e808cb
@ -2979,9 +2979,11 @@ do_put (
|
|||||||
}
|
}
|
||||||
if (VIsual_active)
|
if (VIsual_active)
|
||||||
lnum++;
|
lnum++;
|
||||||
} while (
|
} while (VIsual_active && lnum <= curbuf->b_visual.vi_end.lnum);
|
||||||
VIsual_active && lnum <= curbuf->b_visual.vi_end.lnum
|
|
||||||
);
|
if (VIsual_active) { /* reset lnum to the last visual line */
|
||||||
|
lnum--;
|
||||||
|
}
|
||||||
|
|
||||||
curbuf->b_op_end = curwin->w_cursor;
|
curbuf->b_op_end = curwin->w_cursor;
|
||||||
/* For "CTRL-O p" in Insert mode, put cursor after last char */
|
/* For "CTRL-O p" in Insert mode, put cursor after last char */
|
||||||
|
@ -217,7 +217,7 @@ static int included_patches[] = {
|
|||||||
//524,
|
//524,
|
||||||
//523 NA
|
//523 NA
|
||||||
//522,
|
//522,
|
||||||
//521,
|
521,
|
||||||
520,
|
520,
|
||||||
//519,
|
//519,
|
||||||
518,
|
518,
|
||||||
|
Loading…
Reference in New Issue
Block a user