mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
Simplify the hints display
This commit is contained in:
parent
169e69d217
commit
f7b8ae1ee7
2 changed files with 6 additions and 54 deletions
|
@ -154,7 +154,6 @@ export function activate(context: vscode.ExtensionContext) {
|
|||
hintsUpdater.loadHints(vscode.window.activeTextEditor).then(() => {
|
||||
vscode.window.onDidChangeActiveTextEditor(editor => hintsUpdater.loadHints(editor));
|
||||
vscode.workspace.onDidChangeTextDocument(e => hintsUpdater.updateHints(e));
|
||||
vscode.workspace.onDidCloseTextDocument(document => hintsUpdater.dropHints(document));
|
||||
vscode.workspace.onDidChangeConfiguration(_ => hintsUpdater.toggleHintsDisplay(Server.config.displayInlayHints));
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue