mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-24 17:37:00 +08:00
Merge pull request #1018 from chrisbra/feedkeys
do not echo feedkeys() arguments
This commit is contained in:
commit
fb5ecd4703
|
@ -52,13 +52,16 @@ 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")
|
||||
"call feedkeys(',,', 't')
|
||||
"call feedkeys(':unmap ,,')
|
||||
" force re-evaluation of tabline setting
|
||||
sil call feedkeys(":set mod!\n", 'n')
|
||||
sil call feedkeys(":set mod!\n", 'n')
|
||||
" disable explicit redraw, may cause E315
|
||||
" https://groups.google.com/d/msg/vim_dev/fYl4dP1i9fo/rPT5f7h1DAAJ
|
||||
"redraw
|
||||
"set mod!
|
||||
endfunction
|
||||
|
||||
function! airline#extensions#tabline#load_theme(palette)
|
||||
|
|
Loading…
Reference in New Issue
Block a user