wordcount: fix wrong normal mode command

This commit is contained in:
Christian Brabandt 2018-09-21 21:37:21 +02:00
parent ecf10d0e58
commit ae024293e4
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
1 changed files with 2 additions and 2 deletions

View File

@ -20,11 +20,11 @@ else
let idx = a:visual_mode_active ? 5 : 11
let save_status = v:statusmsg
execute "silent normal! g\<cn-g>"
execute "silent normal! g\<c-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