@@ -1183,6 +1183,7 @@ pub fn completion(cx: &mut Context) {
1183 let pos = helix_lsp::util::pos_to_lsp_pos(doc.text().slice(..), doc.selection().cursor());
1183 let pos = helix_lsp::util::pos_to_lsp_pos(doc.text().slice(..), doc.selection().cursor());
1185 // TODO: handle fails
1185 // TODO: handle fails
1186 let res = smol::block_on(language_server.completion(doc.identifier(), pos)).unwrap_or_default();
1187 let res = smol::block_on(language_server.completion(doc.identifier(), pos)).unwrap_or_default();
1188 // TODO: if no completion, show some message or something
1189 // TODO: if no completion, show some message or something