diff --git a/autoload/airline/extensions/tabline.vim b/autoload/airline/extensions/tabline.vim index e426af5..0447952 100644 --- a/autoload/airline/extensions/tabline.vim +++ b/autoload/airline/extensions/tabline.vim @@ -52,13 +52,16 @@ function! s:update_tabline() \ || isdirectory(expand("")) return endif + if empty(mapcheck("AirlineTablineRefresh", 'n')) + noremap AirlineTablineRefresh :set mod! + endif + call feedkeys("\AirlineTablineRefresh") + call feedkeys("\AirlineTablineRefresh") + "call feedkeys(',,', 't') + "call feedkeys(':unmap ,,') " force re-evaluation of tabline setting - sil call feedkeys(":set mod!\n", 'n') - sil call feedkeys(":set mod!\n", 'n') " disable explicit redraw, may cause E315 - " https://groups.google.com/d/msg/vim_dev/fYl4dP1i9fo/rPT5f7h1DAAJ "redraw - "set mod! endfunction function! airline#extensions#tabline#load_theme(palette)