another approach for updating the bufferline on BufAdd

This commit is contained in:
Christian Brabandt 2016-03-01 22:07:31 +01:00
parent a45a96c881
commit f60a8cc7a3
1 changed files with 1 additions and 5 deletions

View File

@ -56,11 +56,7 @@ function! s:update_tabline()
\ || isdirectory(expand("<afile>"))
return
endif
if empty(mapcheck("<Plug>AirlineTablineRefresh", 'n'))
noremap <silent> <Plug>AirlineTablineRefresh :set mod!<cr>
endif
call feedkeys("\<Plug>AirlineTablineRefresh")
call feedkeys("\<Plug>AirlineTablineRefresh")
doautocmd User BufMRUChange
endfunction
function! airline#extensions#tabline#load_theme(palette)