Fix clicking on file links in editor (#25117)

Closes #18641
Contributes: #13194

Release Notes:

- Open LSP documentation file links in Zed not the system opener
- Render completion documentation markdown consistently with
documentation markdown
This commit is contained in:
Conrad Irwin 2025-02-18 22:54:35 -07:00 committed by GitHub
parent ebbc6a9752
commit 1678e3cbf1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 353 additions and 352 deletions

View file

@ -208,7 +208,7 @@ impl SshPrompt {
..Default::default()
};
let markdown =
cx.new(|cx| Markdown::new_text(prompt, markdown_style, None, None, window, cx));
cx.new(|cx| Markdown::new_text(prompt.into(), markdown_style, None, None, window, cx));
self.prompt = Some((markdown, tx));
self.status_message.take();
window.focus(&self.editor.focus_handle(cx));