mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
feat(plugin): expose mouse_double_click_delay to Lua runtime
This commit is contained in:
parent
1db4e1c9d3
commit
da48c8d276
1 changed files with 1 additions and 0 deletions
|
|
@ -70,6 +70,7 @@ fn mgr() -> Composer<ComposerGet, ComposerSet> {
|
|||
b"show_symlink" => m.show_symlink.get().into_lua(lua)?,
|
||||
b"scrolloff" => m.scrolloff.get().into_lua(lua)?,
|
||||
b"mouse_events" => lua.to_value_with(&m.mouse_events, SER_OPT)?,
|
||||
b"mouse_double_click_delay" => m.mouse_double_click_delay.get().into_lua(lua)?,
|
||||
_ => return Ok(Value::Nil),
|
||||
}
|
||||
.into_lua(lua)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue