Don't update the word count on select mode

Fixes #868
This commit is contained in:
somini 2015-11-10 20:20:53 +00:00
parent 1c498d1af3
commit e0841b10a7
1 changed files with 3 additions and 0 deletions

View File

@ -9,6 +9,9 @@ function! s:update()
if &ft !~ s:filetypes
unlet! b:airline_wordcount
return
elseif mode() =~? 's'
" Bail on select mode
return
endif
let old_status = v:statusmsg