Skip to content

Commit

Permalink
patch 8.0.1341: 'imactivatefunc' test fails on MS-Windows
Browse files Browse the repository at this point in the history
Problem:    'imactivatefunc' test fails on MS-Windows.
Solution:   Skip the text.
  • Loading branch information
brammool committed Nov 25, 2017
1 parent 281c93e commit be5d998
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runtime/doc/options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4259,6 +4259,7 @@ A jump table for the options with a short description can be found at |Q_op|.
{only available when compiled with |+mbyte|}
This option specifies a function that will be called to
activate/inactivate Input Method.
Does not work in the MS-Windows GUI version.

Example: >
function ImActivateFunc(active)
Expand Down Expand Up @@ -4374,6 +4375,7 @@ A jump table for the options with a short description can be found at |Q_op|.
{only available when compiled with |+mbyte|}
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.
Does not work in the MS-Windows GUI version.

Example: >
function ImStatusFunc()
Expand Down
3 changes: 3 additions & 0 deletions src/testdir/test_iminsert.vim
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ func IM_statusfunc()
endfunc

func Test_iminsert2()
if has('gui_win32')
return
endif
set imactivatefunc=IM_activatefunc
set imstatusfunc=IM_statusfunc
set iminsert=2
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1341,
/**/
1340,
/**/
Expand Down

0 comments on commit be5d998

Please sign in to comment.