Merge pull request #997 from chrisbra/fix_e315
update_tabline() may cause E315
This commit is contained in:
commit
de925becf6
|
@ -50,9 +50,12 @@ function! s:update_tabline()
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
" force re-evaluation of tabline setting
|
" force re-evaluation of tabline setting
|
||||||
set mod!
|
sil call feedkeys(":set mod!\n")
|
||||||
redraw
|
sil call feedkeys(":set mod!\n")
|
||||||
set mod!
|
" disable explicit redraw, may cause E315
|
||||||
|
" https://groups.google.com/d/msg/vim_dev/fYl4dP1i9fo/rPT5f7h1DAAJ
|
||||||
|
"redraw
|
||||||
|
"set mod!
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! airline#extensions#tabline#load_theme(palette)
|
function! airline#extensions#tabline#load_theme(palette)
|
||||||
|
|
Loading…
Reference in New Issue