aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/options.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2026-04-01 16:43:03 +0800
committerGitHub <noreply@github.com>2026-04-01 08:43:03 +0000
commit65e2218585d253f44d993c19422457a5231b252f (patch)
tree39a059e7fb032aa9d6a36c095a81a43c579f98d6 /runtime/lua/vim/_meta/options.lua
parent8367340b051530e251781a6abaeb0c4d4a4fe623 (diff)
downloadrneovim-65e2218585d253f44d993c19422457a5231b252f.tar.gz
rneovim-65e2218585d253f44d993c19422457a5231b252f.tar.bz2
rneovim-65e2218585d253f44d993c19422457a5231b252f.zip
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
Diffstat (limited to 'runtime/lua/vim/_meta/options.lua')
-rw-r--r--runtime/lua/vim/_meta/options.lua2
1 files changed, 2 insertions, 0 deletions
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