mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-10 04:09:37 +00:00
rust analyzer has a tendency to return markdown of the form: ```rust // <-- note the leading space blah blah blah ``` This is clearly defectuous, so we used to .trim() the output. Unfortunately we trim after applying syntax highlighting, so that causes the output to look goofy. Fix this by updating the highlighting when we trim. [[PR Description]] Release Notes: - Fixed a bug where syntax highlighting was off in hover tooltips |
||
---|---|---|
.. | ||
display_map | ||
scroll | ||
test | ||
actions.rs | ||
blink_manager.rs | ||
display_map.rs | ||
editor.rs | ||
editor_settings.rs | ||
editor_tests.rs | ||
element.rs | ||
git.rs | ||
highlight_matching_bracket.rs | ||
hover_popover.rs | ||
inlay_hint_cache.rs | ||
items.rs | ||
link_go_to_definition.rs | ||
mouse_context_menu.rs | ||
movement.rs | ||
persistence.rs | ||
rust_analyzer_ext.rs | ||
scroll.rs | ||
selections_collection.rs | ||
test.rs |