aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_editor.lua
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2022-02-25 00:13:25 +0000
committerSean Dewar <seandewar@users.noreply.github.com>2022-03-14 13:10:56 +0000
commit7519af4f0fb54f4ef8b48ec4f18036069f18bf62 (patch)
tree0fa86e932c8d222be50943b07a0971d2c988038b /runtime/lua/vim/_editor.lua
parent490874f3da4c39a36438b6cfa6d79e594b82806f (diff)
downloadrneovim-7519af4f0fb54f4ef8b48ec4f18036069f18bf62.tar.gz
rneovim-7519af4f0fb54f4ef8b48ec4f18036069f18bf62.tar.bz2
rneovim-7519af4f0fb54f4ef8b48ec4f18036069f18bf62.zip
vim-patch:8.2.4438: crash on exit when using cmdline window
Problem: Crash on exit when using cmdline window. Solution: Reset "cmdwin_type" before exiting. (closes vim/vim#9817) https://github.com/vim/vim/commit/ca0c1caa36823ea8e61184268d7337e79995352f Bram also went with the cmdwin_type = 0 solution, but putting it in read_error_exit isn't ideal and only fixes one specific variant of the bug, so don't port that change. Port the test only, but skip it as Nvim does not exit after stdin is exhausted. Using -es instead does exit, but read_error_exit does not run preserve_exit in that case, and does not have issues exiting even without resetting cmdwin_type. Note that the test has problems and is fixed in later patches.
Diffstat (limited to 'runtime/lua/vim/_editor.lua')
0 files changed, 0 insertions, 0 deletions