Skip to content

Commit

Permalink
docs: mention a Rust bug that prevents the use of created as a sort…
Browse files Browse the repository at this point in the history
… method
  • Loading branch information
sxyazi committed Jan 30, 2024
1 parent b3702d4 commit 6af1064
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/configuration/keymap.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ Move the cursor to the next or previous occurrence.
- `by`: Optional, if not provided, the sort method will be kept unchanged.
- `"none"`: Don't sort.
- `"modified"`: Sort by last modified time.
- `"created"`: Sort by creation time.
- `"created"`: Sort by creation time. (Due to a Rust bug, this is not available at the moment, see [sxyazi/yazi#356](https://github.com/sxyazi/yazi/issues/356) and [rust-lang/rust#108277](https://github.com/rust-lang/rust/issues/108277))
- `"extension"`: Sort by file extension.
- `"alphabetical"`: Sort alphabetically, e.g. `1.md` < `10.md` < `2.md`
- `"natural"`: Sort naturally, e.g. `1.md` < `2.md` < `10.md`
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/yazi.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ File sorting method.

- `"none"`: Don't sort.
- `"modified"`: Sort by last modified time.
- `"created"`: Sort by creation time.
- `"created"`: Sort by creation time. (Due to a Rust bug, this is not available at the moment, see [sxyazi/yazi#356](https://github.com/sxyazi/yazi/issues/356) and [rust-lang/rust#108277](https://github.com/rust-lang/rust/issues/108277))
- `"extension"`: Sort by file extension.
- `"alphabetical"`: Sort alphabetically, e.g. `1.md` < `10.md` < `2.md`
- `"natural"`: Sort naturally, e.g. `1.md` < `2.md` < `10.md`
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ When a plugin is executed asynchronously, an isolated async context is created f

In this context, you can use all the async functions supported by Yazi, and it operates concurrently with the main thread, ensuring that the main thread is not blocked.

You can also obtain a small amount of app data from the sync context by calling a "sync function" (will be supported in the next target, v0.2.1):
You can also obtain a small amount of app data from the sync context by calling a "sync function" (will be supported in the next target, v0.2.4):

```lua
-- ~/.config/yazi/plugins/my-async-plugin.yazi/init.lua
Expand Down

0 comments on commit 6af1064

Please sign in to comment.