Skip to content

feat: expose almost the entirety of the user's configuration in Lua#2413

Merged
sxyazi merged 5 commits intosxyazi:mainfrom
hankertrix:expose-user-config
Mar 2, 2025
Merged

feat: expose almost the entirety of the user's configuration in Lua#2413
sxyazi merged 5 commits intosxyazi:mainfrom
hankertrix:expose-user-config

Conversation

@hankertrix
Copy link
Contributor

Somewhat of a follow-up to #2405.

@sxyazi sxyazi force-pushed the main branch 2 times, most recently from 24b1a38 to 2a6cad4 Compare February 28, 2025 00:50
@sxyazi
Copy link
Owner

sxyazi commented Mar 1, 2025

Thank you for the PR!

The config for the input, confirm, pick, and which components was intentionally not added to rt to avoid widening the impact area of breaking changes, since I plan to move all of them from yazi.toml to theme.toml, after which they will appear in th instead of rt.

@hankertrix
Copy link
Contributor Author

hankertrix commented Mar 1, 2025

Ahhh I see, I'll remove them.

@hankertrix hankertrix requested a review from sxyazi March 1, 2025 15:51
Copy link
Owner

@sxyazi sxyazi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@sxyazi sxyazi merged commit 4e32cd9 into sxyazi:main Mar 2, 2025
6 checks passed
@hankertrix
Copy link
Contributor Author

You're welcome!

@hankertrix hankertrix deleted the expose-user-config branch March 2, 2025 12:46
hankertrix added a commit to hankertrix/augment-command.yazi that referenced this pull request Mar 4, 2025
With reference to this pull request:
sxyazi/yazi#2413
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Mar 6, 2025
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [sxyazi/yazi](https://github.com/sxyazi/yazi) | minor | `v25.2.26` -> `v25.3.2` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>sxyazi/yazi (sxyazi/yazi)</summary>

### [`v25.3.2`](https://github.com/sxyazi/yazi/releases/tag/v25.3.2)

[Compare Source](sxyazi/yazi@v25.2.26...v25.3.2)

This is a quick fix release that addresses the issue where, under SSH, terminal response sequences are not completely consumed and are leaked to the screen.

Thanks to [@&#8203;Crdr0122](https://github.com/Crdr0122) and [@&#8203;SpookyYomo](https://github.com/SpookyYomo) for reporting and helping reproduce the issue!

#### What's Changed

-   feat: expose all theme fields in Lua by [@&#8203;hankertrix](https://github.com/hankertrix) in sxyazi/yazi#2405
-   fix: `windows-sys` features for `Win32_Storage_FileSystem` and `Win32_System_Threading` by [@&#8203;sxyazi](https://github.com/sxyazi) in sxyazi/yazi#2417
-   fix: ignore stdin redirection to ensure always accessing the real tty by [@&#8203;sxyazi](https://github.com/sxyazi) in sxyazi/yazi#2425
-   fix: `STDIN_FILENO` poll always returns 0 under SSH by [@&#8203;sxyazi](https://github.com/sxyazi) in sxyazi/yazi#2427
-   feat: expose almost the entirety of the user's configuration in Lua by [@&#8203;hankertrix](https://github.com/hankertrix) in sxyazi/yazi#2413
-   chore: bump version to 25.3.2 by [@&#8203;sxyazi](https://github.com/sxyazi) in sxyazi/yazi#2428

**Full Changelog**: sxyazi/yazi@v25.2.26...v25.3.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODIuNCIsInVwZGF0ZWRJblZlciI6IjM5LjE4Mi40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiXX0=-->
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants