diff options
| author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-09-08 15:44:14 -0400 |
|---|---|---|
| committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-09-08 23:16:54 -0400 |
| commit | 8dde9b58e56345c8c04620d513b55d3b518ea98e (patch) | |
| tree | 3eee5ce39d8465481079844f1d0a97f64e375e3f /src/nvim/testdir | |
| parent | 74c362cec029ba39a8eb0bbd629148e4b6b54968 (diff) | |
| download | rneovim-8dde9b58e56345c8c04620d513b55d3b518ea98e.tar.gz rneovim-8dde9b58e56345c8c04620d513b55d3b518ea98e.tar.bz2 rneovim-8dde9b58e56345c8c04620d513b55d3b518ea98e.zip | |
vim-patch:8.1.1197: when starting with multiple tabs file messages is confusing
Problem: When starting with multiple tabs file messages is confusing.
Solution: Set 'shortmess' when loading the other tabs. (Christian Brabandt)
https://github.com/vim/vim/commit/c75e81262347e47a69faabd72caf89fec3f06e8f
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_startup.vim | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_startup.vim b/src/nvim/testdir/test_startup.vim index b5647b610d..1e70f28a00 100644 --- a/src/nvim/testdir/test_startup.vim +++ b/src/nvim/testdir/test_startup.vim @@ -1,6 +1,7 @@ " Tests for startup. source shared.vim +source screendump.vim " Check that loading startup.vim works. func Test_startup_script() @@ -559,3 +560,15 @@ func Test_zzz_startinsert() endif call delete('Xtestout') endfunc + +func Test_start_with_tabs() + if !CanRunVimInTerminal() + return + endif + + let buf = RunVimInTerminal('-p a b c', {}) + call VerifyScreenDump(buf, 'Test_start_with_tabs', {}) + + " clean up + call StopVimInTerminal(buf) +endfunc |