Skip to content

Commit

Permalink
fix: incorrect formatting of hover actions
Browse files Browse the repository at this point in the history
  • Loading branch information
roife committed Jun 6, 2024
1 parent af488c9 commit 4a4b13c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/ide/src/hover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,8 @@ pub(crate) fn hover_for_definition(
HoverResult {
markup: render::process_markup(sema.db, def, &markup, config),
actions: [
show_implementations_action(sema.db, def),
show_fn_references_action(sema.db, def),
show_implementations_action(sema.db, def),
runnable_action(sema, def, file_id),
goto_type_action_for_def(sema.db, def, &notable_traits),
]
Expand Down
2 changes: 1 addition & 1 deletion editors/code/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function renderHoverActions(actions: ra.CommandLinkGroup[]): vscode.MarkdownStri
(group.title ? group.title + " " : "") +
group.commands.map(renderCommand).join(" | "),
)
.join("___");
.join(" | ");

const result = new vscode.MarkdownString(text);
result.isTrusted = true;
Expand Down

0 comments on commit 4a4b13c

Please sign in to comment.