diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-07-10 16:11:29 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-07-10 16:12:58 +0800 |
commit | 59355653f625373453238d615fd0f5924ccb60ff (patch) | |
tree | 947795891af3e75c85743b6a3ca7846586c5d1bc | |
parent | 8f36e538cc6178b66f27d9096e4f4da7fadafa7a (diff) | |
download | rneovim-59355653f625373453238d615fd0f5924ccb60ff.tar.gz rneovim-59355653f625373453238d615fd0f5924ccb60ff.tar.bz2 rneovim-59355653f625373453238d615fd0f5924ccb60ff.zip |
vim-patch:7.4.1724
Problem: Tabline test fails in GUI.
Solution: Remove 'e' from 'guioptions'.
https://github.com/vim/vim/commit/73cd8fb3e87e4b29dfc489f58e56dee1839c18e5
Add missing file header.
-rw-r--r-- | src/nvim/testdir/test_tabline.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_tabline.vim b/src/nvim/testdir/test_tabline.vim index 3a18206078..f299c971b7 100644 --- a/src/nvim/testdir/test_tabline.vim +++ b/src/nvim/testdir/test_tabline.vim @@ -1,3 +1,4 @@ +" Test for tabline source shared.vim @@ -17,6 +18,9 @@ func TablineWithError() endfunc func Test_caught_error_in_tabline() + if has('gui') + set guioptions-=e + endif let showtabline_save = &showtabline set showtabline=2 let s:func_in_tabline_called = 0 @@ -30,6 +34,9 @@ func Test_caught_error_in_tabline() endfunc func Test_tabline_will_be_disabled_with_error() + if has('gui') + set guioptions-=e + endif let showtabline_save = &showtabline set showtabline=2 let s:func_in_tabline_called = 0 |