diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-03-17 21:19:34 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-17 21:19:34 +0800 |
commit | eb3fcf652bbcab01cd6d55a0e2c120c09cbe69d3 (patch) | |
tree | 0179063d8bbcb2dd1ce928ee734853e50402b5ab /src/nvim/change.c | |
parent | 86c164d2a14382adfb388a66699828df6c623102 (diff) | |
download | rneovim-eb3fcf652bbcab01cd6d55a0e2c120c09cbe69d3.tar.gz rneovim-eb3fcf652bbcab01cd6d55a0e2c120c09cbe69d3.tar.bz2 rneovim-eb3fcf652bbcab01cd6d55a0e2c120c09cbe69d3.zip |
vim-patch:9.0.0194: cursor displayed in wrong position after removing text prop (#22706)
Problem: Cursor displayed in wrong position after removing text prop. (Ben
Jackson)
Solution: Invalidate the cursor position. (closes vim/vim#10898)
https://github.com/vim/vim/commit/326c5d36e7cb8526330565109c17b4a13ff790ae
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/change.c')
-rw-r--r-- | src/nvim/change.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/change.c b/src/nvim/change.c index 04eadfa269..1500aded0c 100644 --- a/src/nvim/change.c +++ b/src/nvim/change.c @@ -446,6 +446,7 @@ void deleted_lines_mark(linenr_T lnum, long count) } /// Marks the area to be redrawn after a change. +/// Consider also calling changed_line_display_buf(). /// /// @param buf the buffer where lines were changed /// @param lnum first line with change |