mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 11:26:37 +00:00
fix(extmark): fix cursor position with both left and right gravity inline text
This commit is contained in:
@@ -1757,7 +1757,7 @@ int win_line(win_T *wp, linenr_T lnum, int startrow, int endrow, bool nochange,
|
||||
selected, &decor_state);
|
||||
|
||||
while (true) {
|
||||
// we could already be inside an existing virt_line with multiple chunks
|
||||
// we could already be inside an existing inline text with multiple chunks
|
||||
if (!(virt_inline_i < kv_size(virt_inline))) {
|
||||
DecorState *state = &decor_state;
|
||||
for (size_t i = 0; i < kv_size(state->active); i++) {
|
||||
|
Reference in New Issue
Block a user