aboutsummaryrefslogtreecommitdiff
path: root/test/old/testdir
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2023-04-18 10:01:42 +0100
committerGitHub <noreply@github.com>2023-04-18 10:01:42 +0100
commit9033d5eccc505d31b4a95d9fd23a7e2a8d2f282c (patch)
tree70b76b061e9b54c57baa2ea17b5e2e6f74612e79 /test/old/testdir
parentd4eff4052a29079e108b5efcb030f07643978994 (diff)
parent65dd3c1180cef5ec15a46bd278ab3a0cb1c3460d (diff)
downloadrneovim-9033d5eccc505d31b4a95d9fd23a7e2a8d2f282c.tar.gz
rneovim-9033d5eccc505d31b4a95d9fd23a7e2a8d2f282c.tar.bz2
rneovim-9033d5eccc505d31b4a95d9fd23a7e2a8d2f282c.zip
Merge pull request #23005 from seandewar/fix-ruf-cmdline-pos
fix(ruler): fix some ruler issues with no statusline
Diffstat (limited to 'test/old/testdir')
-rw-r--r--test/old/testdir/test_cmdline.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/old/testdir/test_cmdline.vim b/test/old/testdir/test_cmdline.vim
index 0c6464ae80..9d506a66c0 100644
--- a/test/old/testdir/test_cmdline.vim
+++ b/test/old/testdir/test_cmdline.vim
@@ -3599,4 +3599,17 @@ func Test_setcmdline()
cunmap a
endfunc
+func Test_rulerformat_position()
+ CheckScreendump
+
+ let buf = RunVimInTerminal('', #{rows: 2, cols: 20})
+ call term_sendkeys(buf, ":set ruler rulerformat=longish\<CR>")
+ call term_sendkeys(buf, ":set laststatus=0 winwidth=1\<CR>")
+ call term_sendkeys(buf, "\<C-W>v\<C-W>|\<C-W>p")
+ call VerifyScreenDump(buf, 'Test_rulerformat_position', {})
+
+ " clean up
+ call StopVimInTerminal(buf)
+endfunc
+
" vim: shiftwidth=2 sts=2 expandtab