From d6c7913e24e07c1d0ea099cda85e0014e8627c5c Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sun, 9 Mar 2025 16:14:45 +0100 Subject: [PATCH] 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 Signed-off-by: Christian Brabandt --- runtime/doc/insert.txt | 6 +++--- src/testdir/test_filetype.vim | 2 ++ src/version.c | 2 ++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt index ef21e36737..5c0ebcf2e7 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 @@ Also see the 'infercase' option if you want to adjust the case of the match. 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 754fc8161a..ae69a04e41 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -1625,6 +1625,7 @@ func Test_haredoc_file() endfunc func Test_help_file() + set nomodeline filetype on call assert_true(mkdir('doc', 'pR')) @@ -1639,6 +1640,7 @@ func Test_help_file() bwipe! filetype off + set modeline& endfunc func Test_hook_file() diff --git a/src/version.c b/src/version.c index fa05cd1741..3e678f1f01 100644 --- a/src/version.c +++ b/src/version.c @@ -704,6 +704,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1191, /**/ 1190, /**/