wordcount: fix wrong normal mode command
This commit is contained in:
parent
ecf10d0e58
commit
ae024293e4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user