diff options
| author | Marco Hinz <mh.codebro+github@gmail.com> | 2019-03-31 15:13:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-31 15:13:38 +0200 |
| commit | 4c4a57015687df67c9bf48b721ab81e295f39118 (patch) | |
| tree | cd4f677f17ce19e65d9cc2dfb7fe5cf276076e48 /src/nvim/misc1.c | |
| parent | 11f03ee3f3da623440607220b8167a3b797d9daa (diff) | |
| parent | 33d4c381315412b52e3e2867d37ac0851e3d0faf (diff) | |
| download | rneovim-4c4a57015687df67c9bf48b721ab81e295f39118.tar.gz rneovim-4c4a57015687df67c9bf48b721ab81e295f39118.tar.bz2 rneovim-4c4a57015687df67c9bf48b721ab81e295f39118.zip | |
Merge #9807 from mhinz/window-local-last-cursormoved
Diffstat (limited to 'src/nvim/misc1.c')
| -rw-r--r-- | src/nvim/misc1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c index d06fa8f762..e5c22e5be3 100644 --- a/src/nvim/misc1.c +++ b/src/nvim/misc1.c @@ -2175,7 +2175,7 @@ static void changed_common(linenr_T lnum, colnr_T col, linenr_T lnume, long xtra /* when the cursor line is changed always trigger CursorMoved */ if (lnum <= curwin->w_cursor.lnum && lnume + (xtra < 0 ? -xtra : xtra) > curwin->w_cursor.lnum) - last_cursormoved.lnum = 0; + curwin->w_last_cursormoved.lnum = 0; } /* |
