Skip to content

Commit be5d998

Browse files
committed
patch 8.0.1341: 'imactivatefunc' test fails on MS-Windows
Problem: 'imactivatefunc' test fails on MS-Windows. Solution: Skip the text.
1 parent 281c93e commit be5d998

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

runtime/doc/options.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4259,6 +4259,7 @@ A jump table for the options with a short description can be found at |Q_op|.
42594259
{only available when compiled with |+mbyte|}
42604260
This option specifies a function that will be called to
42614261
activate/inactivate Input Method.
4262+
Does not work in the MS-Windows GUI version.
42624263

42634264
Example: >
42644265
function ImActivateFunc(active)
@@ -4374,6 +4375,7 @@ A jump table for the options with a short description can be found at |Q_op|.
43744375
{only available when compiled with |+mbyte|}
43754376
This option specifies a function that is called to obtain the status
43764377
of Input Method. It must return a positive number when IME is active.
4378+
Does not work in the MS-Windows GUI version.
43774379

43784380
Example: >
43794381
function ImStatusFunc()

src/testdir/test_iminsert.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ func IM_statusfunc()
1717
endfunc
1818

1919
func Test_iminsert2()
20+
if has('gui_win32')
21+
return
22+
endif
2023
set imactivatefunc=IM_activatefunc
2124
set imstatusfunc=IM_statusfunc
2225
set iminsert=2

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,8 @@ static char *(features[]) =
771771

772772
static int included_patches[] =
773773
{ /* Add new patch number below this line */
774+
/**/
775+
1341,
774776
/**/
775777
1340,
776778
/**/

0 commit comments

Comments
 (0)