autocomd: do not re-evaluate modelines

fixes #1804
This commit is contained in:
Christian Brabandt
2018-09-25 16:03:30 +02:00
parent 2390022e33
commit a0298263b7
5 changed files with 17 additions and 16 deletions

View File

@@ -57,7 +57,7 @@ function! s:update_tabline()
\ || isdirectory(expand("<afile>"))
return
endif
doautocmd User BufMRUChange
call airline#util#doautocmd('BufMRUChange')
" sometimes, the tabline is not correctly updated see #1580
" so force redraw here
let &tabline = &tabline