mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 11:25:33 +00:00
vim-patch:7.4.1724
Problem: Tabline test fails in GUI.
Solution: Remove 'e' from 'guioptions'.
73cd8fb3e8
Add missing file header.
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
" Test for tabline
|
||||||
|
|
||||||
source shared.vim
|
source shared.vim
|
||||||
|
|
||||||
@@ -17,6 +18,9 @@ func TablineWithError()
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_caught_error_in_tabline()
|
func Test_caught_error_in_tabline()
|
||||||
|
if has('gui')
|
||||||
|
set guioptions-=e
|
||||||
|
endif
|
||||||
let showtabline_save = &showtabline
|
let showtabline_save = &showtabline
|
||||||
set showtabline=2
|
set showtabline=2
|
||||||
let s:func_in_tabline_called = 0
|
let s:func_in_tabline_called = 0
|
||||||
@@ -30,6 +34,9 @@ func Test_caught_error_in_tabline()
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_tabline_will_be_disabled_with_error()
|
func Test_tabline_will_be_disabled_with_error()
|
||||||
|
if has('gui')
|
||||||
|
set guioptions-=e
|
||||||
|
endif
|
||||||
let showtabline_save = &showtabline
|
let showtabline_save = &showtabline
|
||||||
set showtabline=2
|
set showtabline=2
|
||||||
let s:func_in_tabline_called = 0
|
let s:func_in_tabline_called = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user