aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/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 /src/nvim/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 'src/nvim/options.lua')
-rw-r--r--src/nvim/options.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index 4f8e9d2599..7710d86b9e 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -1543,6 +1543,8 @@ local options = {
and from tags to 5. Other sources remain unlimited.
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.
]=],
full_name = 'complete',
modelineexpr = true,
@@ -4255,6 +4257,7 @@ local options = {
You can include a line break. Simplest method is to use |:let|: >vim
let &guitabtooltip = "line one\nline two"
<
+ This option cannot be set in a modeline when 'modelineexpr' is off.
]=],
full_name = 'guitabtooltip',
modelineexpr = true,