summaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorYegappan Lakshmanan <yegappan@yahoo.com>2021-12-04 14:02:30 +0000
committerBram Moolenaar <Bram@vim.org>2021-12-04 14:02:30 +0000
commit7645da568c5e3b4ee339a2e99c3b3af790619787 (patch)
treee922a56be3ad038a67e54ca04a1469d6e1115329 /runtime/doc
parent01a4dcbceefa99696bd1ef8631c3f7ce9f6e0cc2 (diff)
downloadvim-git-7645da568c5e3b4ee339a2e99c3b3af790619787.tar.gz
patch 8.2.3735: cannot use a lambda for 'imactivatefunc'v8.2.3735
Problem: Cannot use a lambda for 'imactivatefunc'. Solution: Add lambda support for 'imactivatefunc' and 'imstatusfunc'. (Yegappan Lakshmanan, closes #9275)
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/options.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index e352ed8f2..73c92122f 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -4242,7 +4242,9 @@ A jump table for the options with a short description can be found at |Q_op|.
'imactivatefunc' 'imaf' string (default "")
global
This option specifies a function that will be called to
- activate or deactivate the Input Method.
+ activate or deactivate the Input Method. The value can be the name of
+ a function, a |lambda| or a |Funcref|. See |option-value-function| for
+ more information.
It is not used in the MS-Windows GUI version.
The expression will be evaluated in the |sandbox| when set from a
modeline, see |sandbox-option|.
@@ -4352,6 +4354,8 @@ A jump table for the options with a short description can be found at |Q_op|.
global
This option specifies a function that is called to obtain the status
of Input Method. It must return a positive number when IME is active.
+ The value can be the name of a function, a |lambda| or a |Funcref|.
+ See |option-value-function| for more information.
It is not used in the MS-Windows GUI version.
Example: >