patch 9.1.1191: tests: test for patch 9.1.1186 doesn't fail without the patch
Problem: Test for patch 9.1.1186 doesn't fail without the patch.
Solution: Set 'nomodeline' in the test (zeertzjq).
closes: #16835
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt
index ef21e36..5c0ebcf 100644
--- a/runtime/doc/insert.txt
+++ b/runtime/doc/insert.txt
@@ -1,4 +1,4 @@
-*insert.txt* For Vim version 9.1. Last change: 2025 Mar 08
+*insert.txt* For Vim version 9.1. Last change: 2025 Mar 09
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -663,8 +663,8 @@
When inserting a selected candidate word from the |popup-menu|, the part of
the candidate word that does not match the query is highlighted using
-|hl-ComplMatchIns|. If fuzzy is enabled in 'completopt', highlighting will not
-be applied.
+|hl-ComplMatchIns|. If fuzzy is enabled in 'completeopt', highlighting will
+not be applied.
*complete_CTRL-E*
When completion is active you can use CTRL-E to stop it and go back to the
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index 754fc81..ae69a04 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -1625,6 +1625,7 @@
endfunc
func Test_help_file()
+ set nomodeline
filetype on
call assert_true(mkdir('doc', 'pR'))
@@ -1639,6 +1640,7 @@
bwipe!
filetype off
+ set modeline&
endfunc
func Test_hook_file()
diff --git a/src/version.c b/src/version.c
index fa05cd1..3e678f1 100644
--- a/src/version.c
+++ b/src/version.c
@@ -705,6 +705,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1191,
+/**/
1190,
/**/
1189,