diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml index b4ef8f18..1ac3a36e 100644 --- a/.github/ISSUE_TEMPLATE/feature.yml +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -43,7 +43,7 @@ body: label: Validations description: Before submitting the issue, please make sure you have completed the following options: - - label: I have searched the existing issues - required: true - - label: The latest nightly build of Yazi doesn't already have this feature - required: true + - label: I have searched the existing issues/discussions + required: true + - label: The latest nightly build of Yazi doesn't already have this feature + required: true diff --git a/yazi-plugin/src/loader/require.rs b/yazi-plugin/src/loader/require.rs index c5869a78..5f29f3bf 100644 --- a/yazi-plugin/src/loader/require.rs +++ b/yazi-plugin/src/loader/require.rs @@ -42,17 +42,25 @@ impl Require { fn create_mt<'a>(lua: &'a Lua, id: &str, mod_: Table<'a>, sync: bool) -> mlua::Result