aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTrevor Arjeski <tmarjeski@gmail.com>2024-02-11 02:39:39 +0300
committerGitHub <noreply@github.com>2024-02-11 07:39:39 +0800
commit170c890dca8f160bdcd41e4fdc6bf15ee0bdba49 (patch)
treeba441c0b10bb263a6f5a0024724c0db3edb8649b /test
parentf1f8fa850f741b7c35b8ff9c02ac2810a75e25b1 (diff)
downloadrneovim-170c890dca8f160bdcd41e4fdc6bf15ee0bdba49.tar.gz
rneovim-170c890dca8f160bdcd41e4fdc6bf15ee0bdba49.tar.bz2
rneovim-170c890dca8f160bdcd41e4fdc6bf15ee0bdba49.zip
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
Diffstat (limited to 'test')
-rw-r--r--test/old/testdir/test_registers.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/old/testdir/test_registers.vim b/test/old/testdir/test_registers.vim
index b570e745f1..e113bd9e75 100644
--- a/test/old/testdir/test_registers.vim
+++ b/test/old/testdir/test_registers.vim
@@ -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!