summaryrefslogtreecommitdiff
path: root/src/normal.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-01-03 22:49:16 +0100
committerBram Moolenaar <Bram@vim.org>2016-01-03 22:49:16 +0100
commited767a2073ef150971b0439a58e7ee582af6984e (patch)
treefac1ce186731fb31fc9e4e9f689b25284ca5c6c3 /src/normal.c
parent022b896592721838e387e99fd785d3ded7b68be7 (diff)
downloadvim-git-ed767a2073ef150971b0439a58e7ee582af6984e.tar.gz
patch 7.4.1042v7.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)
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c
index 89c67d9c8..640c0603e 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -8270,7 +8270,7 @@ nv_g_cmd(cap)
* "g CTRL-G": display info about cursor position
*/
case Ctrl_G:
- cursor_pos_info();
+ cursor_pos_info(NULL);
break;
/*