feat(shortmess): "q" flag fully hides recording message (#27415)

When "q" is set in 'shortmess' it now fully hides the "recording @a" message
when you are recording a macro instead of just shortening to "recording". This
removes duplication when using reg_recording() in the statusline.

Related #19193
This commit is contained in:
Trevor Arjeski
2024-02-11 02:39:39 +03:00
committed by GitHub
parent f1f8fa850f
commit 170c890dca
8 changed files with 10 additions and 6 deletions

View File

@@ -175,7 +175,7 @@ func Test_recording_status_in_ex_line()
call assert_equal('recording @x', Screenline(&lines))
set shortmess=q
redraw!
call assert_equal('recording', Screenline(&lines))
call assert_equal('', Screenline(&lines)) " Nvim: shm+=q fully hides message
set shortmess&
norm q
redraw!