mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-16 00:37:08 +08:00
Disable tabline refresh per configuration
fixes #1049 and should prevent that users see AirlineTabRefresh printed on their screen.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user