crates/editor/src/editor.rs 🔗
@@ -2667,8 +2667,6 @@ impl Editor {
false
});
}
- // $language = true;
- // language
fn completion_query(buffer: &MultiBufferSnapshot, position: impl ToOffset) -> Option<String> {
let offset = position.to_offset(buffer);
let (word_range, kind) = buffer.surrounding_word(offset);