diff options
author | Ibby <33922797+SleepySwords@users.noreply.github.com> | 2023-03-19 18:32:44 +1100 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2023-05-22 13:49:42 +0200 |
commit | 0e1f3b5acf74e82ea778f3c0871a804a9ae89d4e (patch) | |
tree | 3293bdfa570ae4d325ed6e8051bb6db5bb70ca8e /src/nvim/buffer_defs.h | |
parent | a38d7f99845d6ef566b2885737b892c660749d5e (diff) | |
download | rneovim-0e1f3b5acf74e82ea778f3c0871a804a9ae89d4e.tar.gz rneovim-0e1f3b5acf74e82ea778f3c0871a804a9ae89d4e.tar.bz2 rneovim-0e1f3b5acf74e82ea778f3c0871a804a9ae89d4e.zip |
vim-patch:9.0.0130: cursor position wrong when inserting around virtual text
Problem: Cursor position wrong when inserting around virtual text.
Solution: Update the cursor position properly.
https://github.com/vim/vim/commit/1f4ee19eefecd8f70b7cbe8ee9db8ace6352e23e
Co-authored-by: tom-anders <13141438+tom-anders@users.noreply.github.com>
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r-- | src/nvim/buffer_defs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h index f8b26d9d16..f3f98bbd17 100644 --- a/src/nvim/buffer_defs.h +++ b/src/nvim/buffer_defs.h @@ -808,6 +808,7 @@ struct file_buffer { MarkTree b_marktree[1]; Map(uint32_t, uint32_t) b_extmark_ns[1]; // extmark namespaces + size_t b_virt_text_inline; // number of inline virtual texts size_t b_virt_line_blocks; // number of virt_line blocks size_t b_signs; // number of sign extmarks size_t b_signs_with_text; // number of sign extmarks with text |