mirror of
https://github.com/neovim/neovim.git
synced 2026-01-30 09:01:07 +10:00
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:
@@ -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!
|
||||
|
||||
Reference in New Issue
Block a user