commit | ed767a2073ef150971b0439a58e7ee582af6984e | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Jan 03 22:49:16 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Jan 03 22:49:16 2016 +0100 |
tree | fac1ce186731fb31fc9e4e9f689b25284ca5c6c3 | |
parent | 022b896592721838e387e99fd785d3ded7b68be7 [diff] [blame] |
patch 7.4.1042 Problem: g-CTRL-G shows the word count, but there is no way to get the word count in a script. Solution: Add the wordcount() function. (Christian Brabandt)
diff --git a/src/normal.c b/src/normal.c index 89c67d9..640c060 100644 --- a/src/normal.c +++ b/src/normal.c
@@ -8270,7 +8270,7 @@ * "g CTRL-G": display info about cursor position */ case Ctrl_G: - cursor_pos_info(); + cursor_pos_info(NULL); break; /*