From 65e2218585d253f44d993c19422457a5231b252f Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Wed, 1 Apr 2026 16:43:03 +0800 Subject: 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). https://github.com/vim/vim/commit/8c8772c6b321d4955c8f09926e3eda2b4cd83680 --- runtime/lua/vim/_meta/options.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'runtime/lua/vim') diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua index 4d78f8481b..2a5631130f 100644 --- a/runtime/lua/vim/_meta/options.lua +++ b/runtime/lua/vim/_meta/options.lua @@ -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 -- cgit