0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.2.2695: cursor position reset with nested autocommands

Problem:    Cursor position reset with nested autocommands.
Solution:   Only check and reset line numbers for not nested autocommands.
            (closes #5820)
This commit is contained in:
Bram Moolenaar
2021-04-03 13:19:26 +02:00
parent 5b8cabfef7
commit 1e6bbfb560
3 changed files with 35 additions and 4 deletions

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2695,
/**/
2694,
/**/