vim-patch:9.2.0444: Cannot set 'path' option via modeline

Problem:  Cannot set 'path' option via modeline (zeertzjq, after v9.2.0435)
Solution: Revert the part that disallows setting 'path' via modeline.

closes: vim/vim#20137

88fb739918

Co-authored-by: Christian Brabandt <cb@256bit.org>
(cherry picked from commit d1c3d6fbaa)
This commit is contained in:
zeertzjq
2026-05-06 07:23:16 +08:00
committed by github-actions[bot]
parent b013940391
commit 15a58bb02a
4 changed files with 8 additions and 17 deletions

View File

@@ -6544,7 +6544,6 @@ local options = {
full_name = 'path',
list = 'comma',
scope = { 'global', 'buf' },
secure = true,
short_desc = N_('list of directories searched with "gf" et.al.'),
tags = { 'E343', 'E345', 'E347', 'E854' },
type = 'string',