@@ -71,7 +71,7 @@ fn sym_picker(
71) -> FilePicker<lsp::SymbolInformation> {
71) -> FilePicker<lsp::SymbolInformation> {
72 // TODO: drop current_path comparison and instead use workspace: bool flag?
72 // TODO: drop current_path comparison and instead use workspace: bool flag?
73 let current_path2 = current_path.clone();
73 let current_path2 = current_path.clone();
74− let picker = FilePicker::new(
74+ FilePicker::new(
76 move |symbol| {
76 move |symbol| {
77 if current_path.as_ref() == Some(&symbol.location.uri) {
77 if current_path.as_ref() == Some(&symbol.location.uri) {
@@ -105,8 +105,7 @@ fn sym_picker(
106 move |_editor, symbol| Some(location_to_file_location(&symbol.location)),
106 move |_editor, symbol| Some(location_to_file_location(&symbol.location)),
108− .truncate_start(false);
108+ .truncate_start(false)
112pub fn symbol_picker(cx: &mut Context) {
111pub fn symbol_picker(cx: &mut Context) {