Add help menu items to visit zed.dev and the zed twitter page
This commit is contained in:
parent
df4f3051bc
commit
1c932ae4ce
2 changed files with 29 additions and 4 deletions
|
@ -247,10 +247,25 @@ pub fn menus() -> Vec<Menu<'static>> {
|
|||
},
|
||||
Menu {
|
||||
name: "Help",
|
||||
items: vec![MenuItem::Action {
|
||||
name: "Command Palette",
|
||||
action: Box::new(command_palette::Toggle),
|
||||
}],
|
||||
items: vec![
|
||||
MenuItem::Action {
|
||||
name: "Command Palette",
|
||||
action: Box::new(command_palette::Toggle),
|
||||
},
|
||||
MenuItem::Separator,
|
||||
MenuItem::Action {
|
||||
name: "Zed.dev",
|
||||
action: Box::new(crate::OpenBrowser {
|
||||
url: "https://zed.dev".into(),
|
||||
}),
|
||||
},
|
||||
MenuItem::Action {
|
||||
name: "Zed Twitter",
|
||||
action: Box::new(crate::OpenBrowser {
|
||||
url: "https://twitter.com/zeddotdev".into(),
|
||||
}),
|
||||
},
|
||||
],
|
||||
},
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue