Disable tabline refresh per configuration

fixes #1049 and should prevent that users see AirlineTabRefresh printed
on their screen.
This commit is contained in:
Christian Brabandt
2016-02-23 20:23:29 +01:00
parent adbfda43f8
commit 0e70dac030
2 changed files with 12 additions and 4 deletions

View File

@@ -42,6 +42,9 @@ function! s:toggle_on()
endfunction
function! s:update_tabline()
if get(g:, 'airline#extensions#tabline#disable_refresh', 0)
return
endif
let match = expand('<afile>')
if pumvisible()
return