summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrqdmap <55649208+rqdmap@users.noreply.github.com>2023-07-01 00:10:57 +0800
committerGitHub <noreply@github.com>2023-06-30 12:10:57 -0400
commitee79b4b7898a2210d534d52b18402492d2609c3d (patch)
treeb0d090f04cf8ec23223c987382f4b21d966b514a
parent6cb151ea4b58d006cfc52f54d52be05110bd5b90 (diff)
Fix incorrect sort method field in example config (#350)
-rw-r--r--config/joshuto.toml4
-rw-r--r--docs/configuration/joshuto.toml.md4
2 files changed, 5 insertions, 3 deletions
diff --git a/config/joshuto.toml b/config/joshuto.toml
index 60cf360..c106057 100644
--- a/config/joshuto.toml
+++ b/config/joshuto.toml
@@ -23,8 +23,8 @@ tilde_in_titlebar = true
line_number_style = "none"
[display.sort]
-# lexical, mtime, natural
-method = "natural"
+# lexical, mtime, natural, size, ext
+sort_method = "natural"
case_sensitive = false
directories_first = true
reverse = false
diff --git a/docs/configuration/joshuto.toml.md b/docs/configuration/joshuto.toml.md
index 3313780..3f8ce51 100644
--- a/docs/configuration/joshuto.toml.md
+++ b/docs/configuration/joshuto.toml.md
@@ -62,7 +62,9 @@ line_number_style = "none"
# - lexical (10.txt comes before 2.txt)
# - natural (2.txt comes before 10.txt)
# - mtime
-method = "natural"
+# - size
+# - ext
+sort_method = "natural"
# case sensitive sorting
case_sensitive = false