neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 4281a514e9b751a5a83b29659bdcc9dd8fcd5d06
parent 638b3c0717219ce152cbd255cbc878aa1b34ab95
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Tue, 11 Mar 2025 06:22:22 +0800

vim-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: vim/vim#16835

https://github.com/vim/vim/commit/d6c7913e24e07c1d0ea099cda85e0014e8627c5c

Diffstat:
Mruntime/doc/insert.txt | 2+-
Mtest/old/testdir/test_filetype.vim | 2++
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt @@ -643,7 +643,7 @@ 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 'completeopt', highlighting will +|hl-ComplMatchIns|. If fuzzy is enabled in 'completeopt', highlighting will not be applied. *complete_CTRL-E* diff --git a/test/old/testdir/test_filetype.vim b/test/old/testdir/test_filetype.vim @@ -1619,6 +1619,7 @@ func Test_haredoc_file() endfunc func Test_help_file() + set nomodeline filetype on call assert_true(mkdir('doc', 'pR')) @@ -1633,6 +1634,7 @@ func Test_help_file() bwipe! filetype off + set modeline& endfunc func Test_hook_file()