summaryrefslogtreecommitdiff
path: root/runtime
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 /runtime
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 'runtime')
-rw-r--r--runtime/doc/eval.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 56aa6a345..26a28dca3 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -2468,6 +2468,7 @@ getfperm({fname}) String file permissions of file {fname}
getfsize({fname}) Number size in bytes of file {fname}
getftime({fname}) Number last modification time of file
getftype({fname}) String description of type of file {fname}
+getimstatus() Number |TRUE| if the IME status is active
getjumplist([{winnr} [, {tabnr}]])
List list of jump list items
getline({lnum}) String line {lnum} of current buffer
@@ -5202,6 +5203,11 @@ getftype({fname}) *getftype()*
Can also be used as a |method|: >
GetFilename()->getftype()
+getimstatus() *getimstatus()*
+ The result is a Number, which is |TRUE| when the IME status is
+ active.
+ See 'imstatusfunc'.
+
getjumplist([{winnr} [, {tabnr}]]) *getjumplist()*
Returns the |jumplist| for the specified window.