mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
Auto merge of #12850 - Veykril:display-fix, r=Veykril
fix: Fix error tooltip message for VSCode status bar item
This commit is contained in:
commit
fbb1337eb3
1 changed files with 3 additions and 1 deletions
|
@ -98,7 +98,9 @@ export class Ctx {
|
|||
icon = "$(warning) ";
|
||||
break;
|
||||
case "error":
|
||||
statusBar.tooltip += "\nClick to reload.";
|
||||
statusBar.tooltip =
|
||||
(status.message ? status.message + "\n" : "") + "Click to reload.";
|
||||
|
||||
statusBar.command = "rust-analyzer.reloadWorkspace";
|
||||
statusBar.color = new vscode.ThemeColor("statusBarItem.errorForeground");
|
||||
statusBar.backgroundColor = new vscode.ThemeColor("statusBarItem.errorBackground");
|
||||
|
|
Loading…
Reference in a new issue