mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-10-12 15:50:13 +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:
1 parent
adbfda43f8
commit
0e70dac030
2 files changed
+12
-4
No files matched your search
@@ -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