Remove experimental locale feature (#2111)

This commit is contained in:
Joe Lim authored and GitHub committed 2025-08-26 01:41:01 +10:00
1 parent 06955cbacc
commit e60c055be3
10 files changed
+31 -229

No files matched your search

+3 -12
View File
@@ -167,7 +167,6 @@ The following options can be used to customize the behavior of lf:
info []string (default '')
infotimefmtnew string (default 'Jan _2 15:04')
infotimefmtold string (default 'Jan _2 2006')
locale string (default '')
mouse bool (default false)
number bool (default false)
numberfmt string (default "\033[33m")
@@ -922,14 +921,6 @@ infotimefmtold (string) (default Jan _2 2006)
Format string of the file time shown in the info column when it doesn't
match this year.
locale (string) (default ``)
An IETF BCP 47 language tag (e.g. zh-CN) for specifying the locale used
when using sort type natural and name. An empty string means disable
locale ordering, and the special value * is used to indicate reading the
locale setting from the system environment. This feature is currently
experimental.
mouse (bool) (default false)
Send mouse events as input.
@@ -1403,9 +1394,9 @@ string:
Command setlocal is used to set a local option for a directory which can
be a boolean or string. Currently supported local options are dircounts,
dirfirst, dironly, hidden, info, locale, reverse and sortby. Adding a
trailing path separator (i.e. / for Unix and \ for Windows) sets the
option for the given directory along with its subdirectories:
dirfirst, dironly, hidden, info, reverse and sortby. Adding a trailing
path separator (i.e. / for Unix and \ for Windows) sets the option for
the given directory along with its subdirectories:
setlocal /foo/bar hidden # boolean enable
setlocal /foo/bar hidden true # boolean enable