vim-patch:9.2.0277: tests: test_modeline.vim fails (#38672)

Problem:  tests: test_modeline.vim fails (after v9.2.0276)
Solution: Rewrite the tests to use the existing s:modeline_fails()
          function, update documentation (zeertzjq).

8c8772c6b3
This commit is contained in:
zeertzjq
2026-04-01 16:43:03 +08:00
committed by GitHub
parent 8367340b05
commit 65e2218585
4 changed files with 10 additions and 25 deletions

View File

@@ -1110,6 +1110,8 @@ vim.bo.cms = vim.bo.commentstring
--- Note: The match limit takes effect only during forward completion
--- (CTRL-N) and is ignored during backward completion (CTRL-P).
---
--- This option cannot be set in a modeline when 'modelineexpr' is off.
---
--- @type string
vim.o.complete = ".,w,b,u,t"
vim.o.cpt = vim.o.complete