patch 8.0.1341: 'imactivatefunc' test fails on MS-Windows
Problem: 'imactivatefunc' test fails on MS-Windows.
Solution: Skip the text.
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index d71e7f9..3888d9f 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -4259,6 +4259,7 @@
{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)
@@ -4374,6 +4375,7 @@
{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()
diff --git a/src/testdir/test_iminsert.vim b/src/testdir/test_iminsert.vim
index 603135a..0676c03 100644
--- a/src/testdir/test_iminsert.vim
+++ b/src/testdir/test_iminsert.vim
@@ -17,6 +17,9 @@
endfunc
func Test_iminsert2()
+ if has('gui_win32')
+ return
+ endif
set imactivatefunc=IM_activatefunc
set imstatusfunc=IM_statusfunc
set iminsert=2
diff --git a/src/version.c b/src/version.c
index e391e52..3fa66e4 100644
--- a/src/version.c
+++ b/src/version.c
@@ -772,6 +772,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1341,
+/**/
1340,
/**/
1339,