mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-11 12:46:07 +00:00
abc5abcd8b
Release Notes: - linux: Added a fallback Open picker for when XDG is not working - Added a new setting `use_system_path_prompts` (default true) that can be disabled to use Zed's builtin keyboard-driven prompts. --------- Co-authored-by: Max <max@zed.dev>
23 lines
556 B
Rust
23 lines
556 B
Rust
use gpui::actions;
|
|
|
|
// If the zed binary doesn't use anything in this crate, it will be optimized away
|
|
// and the actions won't initialize. So we just provide an empty initialization function
|
|
// to be called from main.
|
|
//
|
|
// These may provide relevant context:
|
|
// https://github.com/rust-lang/rust/issues/47384
|
|
// https://github.com/mmastrac/rust-ctor/issues/280
|
|
pub fn init() {}
|
|
|
|
actions!(
|
|
menu,
|
|
[
|
|
Cancel,
|
|
Confirm,
|
|
SecondaryConfirm,
|
|
SelectPrev,
|
|
SelectNext,
|
|
SelectFirst,
|
|
SelectLast,
|
|
]
|
|
);
|