diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-12-13 01:50:58 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-12-26 02:34:13 -0500 |
commit | 44bb7147e40743d9a70ee3a2663a7a7dacec7b13 (patch) | |
tree | 5f8913cf05a046d2ec23840915d8bb1884db768f /src/nvim/ex_docmd.c | |
parent | 4afddb8f571d9e61eab60596c59a27452e9bc839 (diff) | |
download | rneovim-44bb7147e40743d9a70ee3a2663a7a7dacec7b13.tar.gz rneovim-44bb7147e40743d9a70ee3a2663a7a7dacec7b13.tar.bz2 rneovim-44bb7147e40743d9a70ee3a2663a7a7dacec7b13.zip |
vim-patch:8.1.1192: mode is not cleared when leaving Insert mode with mapped Esc
Problem: Mode is not cleared when leaving Insert mode with mapped Esc.
Solution: Clear the mode when redraw_cmdline is set. (closes vim/vim#4269)
https://github.com/vim/vim/commit/4c25bd785aa8b565bf973cbba12ed36b76daaa4f
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r-- | src/nvim/ex_docmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index 63e5c1c9ed..601f4aab38 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -8062,8 +8062,8 @@ static void ex_redraw(exarg_T *eap) RedrawingDisabled = r; p_lz = p; - /* Reset msg_didout, so that a message that's there is overwritten. */ - msg_didout = FALSE; + // Reset msg_didout, so that a message that's there is overwritten. + msg_didout = false; msg_col = 0; /* No need to wait after an intentional redraw. */ |