edit prediction: Add syntax highlighting for diff popover (#23899)

Co-Authored-by: Antonio <antonio@zed.dev>

Release Notes:

- N/A

---------

Co-authored-by: Antonio <antonio@zed.dev>
This commit is contained in:
Bennet Bo Fenner 2025-01-30 11:53:51 +01:00 committed by GitHub
parent 41de83fe1f
commit 5e449c84fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 802 additions and 479 deletions

View file

@ -256,6 +256,7 @@ impl InlineCompletionProvider for CopilotCompletionProvider {
let position = cursor_position.bias_right(buffer);
Some(InlineCompletion {
edits: vec![(position..position, completion_text.into())],
edit_preview: None,
})
}
} else {