diff --git a/autoload/airline/extensions/wordcount.vim b/autoload/airline/extensions/wordcount.vim index 364c425..3bac63a 100644 --- a/autoload/airline/extensions/wordcount.vim +++ b/autoload/airline/extensions/wordcount.vim @@ -12,7 +12,7 @@ if exists('*wordcount') else " Pull wordcount from the g_ctrl-g stats function! s:get_wordcount(visual_mode_active) let pattern = a:visual_mode_active - \ ? '\d\+\ze Words;' + \ ? 'Lines; \zs\d\+\ze of \d\+ Words;' \ : 'Word \d\+ of \zs\d\+' let save_status = v:statusmsg