From 357f95a77eb799a6714117e50d9f06d72e9c0eaf Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Thu, 28 Mar 2019 20:49:19 +0100 Subject: cursormoved: make global last_cursormoved window-local Fixes https://github.com/neovim/neovim/issues/9755 --- src/nvim/buffer_defs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/nvim/buffer_defs.h') diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h index 1b0af8aa49..2e6f24d9c4 100644 --- a/src/nvim/buffer_defs.h +++ b/src/nvim/buffer_defs.h @@ -1035,6 +1035,7 @@ struct window_S { // current virtual column linenr_T w_last_cursorline; ///< where last 'cursorline' was drawn + pos_T w_last_cursormoved; ///< for CursorMoved event // the next seven are used to update the visual part char w_old_visual_mode; ///< last known VIsual_mode -- cgit