Revert "Remove dead comment"

This reverts commit 046759a366.
This commit is contained in:
Piotr Osiewicz 2023-08-22 01:04:15 +02:00
parent 344a09a4f8
commit bca2d02a61
2 changed files with 2 additions and 125 deletions

View file

@ -2667,6 +2667,8 @@ 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);