summaryrefslogtreecommitdiff
path: root/src/evalfunc.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-09-07 15:08:38 +0200
committerBram Moolenaar <Bram@vim.org>2019-09-07 15:08:38 +0200
commita3a124627d2eb9d36e3dc3757429d87e041f8c0b (patch)
tree21060d151a17a390b7233c41048ff760a6c32ed5 /src/evalfunc.c
parent1b33bee35ed53b8d6f5c66a0e0a2da3c11bb7f3b (diff)
downloadvim-git-a3a124627d2eb9d36e3dc3757429d87e041f8c0b.tar.gz
patch 8.1.2000: plugin cannot get the current IME statusv8.1.2000
Problem: Plugin cannot get the current IME status. Solution: Add the getimstatus() function. (closes #4904)
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r--src/evalfunc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c
index 0aa8fbfd0..b2ab63dbc 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -507,6 +507,7 @@ static funcentry_T global_functions[] =
{"getfsize", 1, 1, FEARG_1, f_getfsize},
{"getftime", 1, 1, FEARG_1, f_getftime},
{"getftype", 1, 1, FEARG_1, f_getftype},
+ {"getimstatus", 0, 0, 0, f_getimstatus},
{"getjumplist", 0, 2, FEARG_1, f_getjumplist},
{"getline", 1, 2, FEARG_1, f_getline},
{"getloclist", 1, 2, 0, f_getloclist},