]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0499: modeline: allow to disable modelines with modelinestrict v9.2.0499
authorChristian Brabandt <cb@256bit.org>
Mon, 18 May 2026 18:59:03 +0000 (18:59 +0000)
committerChristian Brabandt <cb@256bit.org>
Mon, 18 May 2026 18:59:03 +0000 (18:59 +0000)
commit4397227119e3ebaa879552dcbcb18338d18f4850
treedf7cfb8e7397b4b08ba78b264bfb3abede39f0ee
parentc920d9344368a1506be0bbff116ff9d4cd96476f
patch 9.2.0499: modeline: allow to disable modelines with modelinestrict

Problem:  Cannot disable modeline processing when loading a file
          (Mao-Yining, after v9.2.0350)
Solution: Allow to disable modeline processing even when
          'modelienstrict' is in effect.

fixes:  #20103
closes: #20229

Signed-off-by: Christian Brabandt <cb@256bit.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/options.txt
src/option.c
src/testdir/test_modeline.vim
src/version.c