diff options
author | zeertzjq <zeertzjq@outlook.com> | 2025-03-11 06:22:22 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2025-03-11 06:24:57 +0800 |
commit | 4281a514e9b751a5a83b29659bdcc9dd8fcd5d06 (patch) | |
tree | 3252e99e6086a0adbd6251fbe8f3e544380de0d9 | |
parent | 638b3c0717219ce152cbd255cbc878aa1b34ab95 (diff) | |
download | rneovim-4281a514e9b751a5a83b29659bdcc9dd8fcd5d06.tar.gz rneovim-4281a514e9b751a5a83b29659bdcc9dd8fcd5d06.tar.bz2 rneovim-4281a514e9b751a5a83b29659bdcc9dd8fcd5d06.zip |
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
-rw-r--r-- | runtime/doc/insert.txt | 2 | ||||
-rw-r--r-- | test/old/testdir/test_filetype.vim | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt index b77339a325..31e6dd1ec4 100644 --- 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 index 0355956447..3d8772e477 100644 --- 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() |