From ae024293e410e401d306a2f9e2cfd6a8a3a74f99 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Fri, 21 Sep 2018 21:37:21 +0200 Subject: [PATCH] wordcount: fix wrong normal mode command --- autoload/airline/extensions/wordcount.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/airline/extensions/wordcount.vim b/autoload/airline/extensions/wordcount.vim index a098bb1f..cce2e8ea 100644 --- a/autoload/airline/extensions/wordcount.vim +++ b/autoload/airline/extensions/wordcount.vim @@ -20,11 +20,11 @@ else let idx = a:visual_mode_active ? 5 : 11 let save_status = v:statusmsg - execute "silent normal! g\" + execute "silent normal! g\" let stat = v:statusmsg let v:statusmsg = save_status - let parts = split(stat) + let parts = split(substitute(stat, ';', '', 'g')) if len(parts) > idx return parts[idx] endif