Simplify the hints display

This commit is contained in:
Kirill Bulatov 2019-07-24 17:15:12 +03:00
parent 169e69d217
commit f7b8ae1ee7
2 changed files with 6 additions and 54 deletions

View file

@ -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));
});
}