feat!: remove recursive dir support for setlocal (#2415)

* feat!: remove recursive dir support for `setlocal`

* Update version in man page

* Update `CHANGELOG.md`
This commit is contained in:
Joe Lim authored and GitHub committed 2026-03-05 18:52:13 +11:00
1 parent 941866b62f
commit 374ae19cb2
7 files changed
+17 -88

No files matched your search

-5
View File
@@ -1425,9 +1425,6 @@ directory which can be a boolean or string.
Currently supported local options are \f[CR]dircounts\f[R],
\f[CR]dirfirst\f[R], \f[CR]dironly\f[R], \f[CR]hidden\f[R],
\f[CR]info\f[R], \f[CR]reverse\f[R] and \f[CR]sortby\f[R].
Adding a trailing path separator (i.e.
\f[CR]/\f[R] for Unix and \f[CR]\(rs\f[R] for Windows) sets the option
for the given directory along with its subdirectories:
.IP
.EX
setlocal /foo/bar hidden # boolean enable
@@ -1438,8 +1435,6 @@ setlocal /foo/bar hidden! # boolean toggle
setlocal /foo/bar sortby time # string value without quotes
setlocal /foo/bar sortby \(aqtime\(aq # string value with single quotes (whitespace)
setlocal /foo/bar sortby \(dqtime\(dq # string value with double quotes (backslash escapes)
setlocal /foo/bar hidden # for only \(aq/foo/bar\(aq directory
setlocal /foo/bar/ hidden # for \(aq/foo/bar\(aq and its subdirectories (e.g. \(aq/foo/bar/baz\(aq)
.EE
.PP
Command \f[CR]map\f[R] is used to bind a key in Normal and Visual mode