import { imactivatefunc } from "https://deno.land/x/denops_std@v6.5.0/option/vim/mod.ts";
This option specifies a function that will be called to
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
.
Example:
function ImActivateFunc(active)
if a:active
... do something
else
... do something
endif
" return value is not used
endfunction
set imactivatefunc=ImActivateFunc
(default "")
type
GlobalOption<string>