@@ -71,7 +71,7 @@ fn sym_picker(
7171) -> FilePicker<lsp::SymbolInformation> {
7272 // TODO: drop current_path comparison and instead use workspace: bool flag?
7373 let current_path2 = current_path.clone();
74− let picker = FilePicker::new(
74+ FilePicker::new(
7575 symbols,
7676 move |symbol| {
7777 if current_path.as_ref() == Some(&symbol.location.uri) {
@@ -105,8 +105,7 @@ fn sym_picker(
105105 },
106106 move |_editor, symbol| Some(location_to_file_location(&symbol.location)),
107107 )
108− .truncate_start(false);
109− picker
108+ .truncate_start(false)
110109}
111110
112111pub fn symbol_picker(cx: &mut Context) {