use feedkeys() with "n" flag

This commit is contained in:
Christian Brabandt 2016-02-06 08:49:50 +01:00
parent de925becf6
commit 73f365cfb9
1 changed files with 2 additions and 2 deletions

View File

@ -50,8 +50,8 @@ function! s:update_tabline()
return
endif
" force re-evaluation of tabline setting
sil call feedkeys(":set mod!\n")
sil call feedkeys(":set mod!\n")
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