From e0841b10a7ee2ba59f57447e37e1624e854a7fea Mon Sep 17 00:00:00 2001 From: somini Date: Tue, 10 Nov 2015 20:20:53 +0000 Subject: [PATCH] Don't update the word count on select mode Fixes #868 --- autoload/airline/extensions/wordcount.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autoload/airline/extensions/wordcount.vim b/autoload/airline/extensions/wordcount.vim index e36c7da..e646232 100644 --- a/autoload/airline/extensions/wordcount.vim +++ b/autoload/airline/extensions/wordcount.vim @@ -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