Remove language::markdown (#25136)
The language::markdown crate had been superceded by markdown::Mardown. After #25117, the only two remaining use-cases were rendering git commit messages (which are arguably not really markdown) and the signature help (which is definitely not markdown). Updated the former to use the new markdown component, and the latter to do syntax highlighting manually. Release Notes: - Allow selecting the commit message in git commits
This commit is contained in:
parent
686978d7c5
commit
119bd896b0
25 changed files with 348 additions and 947 deletions
|
@ -207,8 +207,7 @@ impl SshPrompt {
|
|||
selection_background_color: cx.theme().players().local().selection,
|
||||
..Default::default()
|
||||
};
|
||||
let markdown =
|
||||
cx.new(|cx| Markdown::new_text(prompt.into(), markdown_style, None, None, window, cx));
|
||||
let markdown = cx.new(|cx| Markdown::new_text(prompt.into(), markdown_style, cx));
|
||||
self.prompt = Some((markdown, tx));
|
||||
self.status_message.take();
|
||||
window.focus(&self.editor.focus_handle(cx));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue