mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
Merge pull request #34492 from nenahp/fix-append-cursor
fix: cursor shape don't resume after `:append`
This commit is contained in:
@@ -2889,6 +2889,7 @@ void ex_append(exarg_T *eap)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
State = MODE_NORMAL;
|
State = MODE_NORMAL;
|
||||||
|
ui_cursor_shape();
|
||||||
|
|
||||||
if (eap->forceit) {
|
if (eap->forceit) {
|
||||||
curbuf->b_p_ai = !curbuf->b_p_ai;
|
curbuf->b_p_ai = !curbuf->b_p_ai;
|
||||||
|
@@ -43,6 +43,11 @@ describe('ui mode_change event', function()
|
|||||||
]],
|
]],
|
||||||
mode = 'normal',
|
mode = 'normal',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
n.feed(':append<cr>')
|
||||||
|
screen:expect({ mode = 'cmdline_normal' })
|
||||||
|
n.feed('<esc>')
|
||||||
|
screen:expect({ mode = 'normal' })
|
||||||
end)
|
end)
|
||||||
|
|
||||||
-- oldtest: Test_mouse_shape_after_failed_change()
|
-- oldtest: Test_mouse_shape_after_failed_change()
|
||||||
|
Reference in New Issue
Block a user