aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ops.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2017-10-31 16:46:02 +0100
committerBjörn Linse <bjorn.linse@gmail.com>2019-02-10 13:36:46 +0100
commit51fc54325c55eb3cefafec627d73cc19c220d7ed (patch)
tree476f20c32019ad9d4f4059031f405f90266c08c2 /src/nvim/ops.c
parent3ff1228f785705a46a0bd24fb5dc2bf76b6dad68 (diff)
downloadrneovim-51fc54325c55eb3cefafec627d73cc19c220d7ed.tar.gz
rneovim-51fc54325c55eb3cefafec627d73cc19c220d7ed.tar.bz2
rneovim-51fc54325c55eb3cefafec627d73cc19c220d7ed.zip
ui: implement ext_messages
Co-Author: Dongdong Zhou <dzhou121@gmail.com>
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r--src/nvim/ops.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c
index e9cb480647..674a9244f0 100644
--- a/src/nvim/ops.c
+++ b/src/nvim/ops.c
@@ -865,8 +865,12 @@ int do_record(int c)
* needs to be removed again to put it in a register. exec_reg then
* adds the escaping back later.
*/
- Recording = FALSE;
- MSG("");
+ Recording = false;
+ if (ui_has(kUIMessages)) {
+ showmode();
+ } else {
+ MSG("");
+ }
p = get_recorded();
if (p == NULL)
retval = FAIL;