Introduce a new, language-overridable Autosave setting

This commit is contained in:
Antonio Scandurra 2022-07-05 09:25:22 +02:00
parent 8f021d8ca8
commit 4b533c339d
2 changed files with 17 additions and 1 deletions

View file

@ -97,7 +97,6 @@ pub fn init(app_state: &Arc<AppState>, cx: &mut gpui::MutableAppContext) {
cx.add_action({
let app_state = app_state.clone();
move |_: &mut Workspace, _: &OpenSettings, cx: &mut ViewContext<Workspace>| {
println!("open settings");
open_config_file(&SETTINGS_PATH, app_state.clone(), cx);
}
});