another approach for updating the bufferline on BufAdd
This commit is contained in:
parent
a45a96c881
commit
f60a8cc7a3
|
@ -56,11 +56,7 @@ function! s:update_tabline()
|
||||||
\ || isdirectory(expand("<afile>"))
|
\ || isdirectory(expand("<afile>"))
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
if empty(mapcheck("<Plug>AirlineTablineRefresh", 'n'))
|
doautocmd User BufMRUChange
|
||||||
noremap <silent> <Plug>AirlineTablineRefresh :set mod!<cr>
|
|
||||||
endif
|
|
||||||
call feedkeys("\<Plug>AirlineTablineRefresh")
|
|
||||||
call feedkeys("\<Plug>AirlineTablineRefresh")
|
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! airline#extensions#tabline#load_theme(palette)
|
function! airline#extensions#tabline#load_theme(palette)
|
||||||
|
|
Loading…
Reference in New Issue