1
0
forked from aniani/vim

patch 8.1.2000: plugin cannot get the current IME status

Problem:    Plugin cannot get the current IME status.
Solution:   Add the getimstatus() function. (closes #4904)
This commit is contained in:
Bram Moolenaar
2019-09-07 15:08:38 +02:00
parent 1b33bee35e
commit a3a124627d
5 changed files with 52 additions and 1 deletions

View File

@@ -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.