mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Merge #3173
3173: vscode: fix stupid mistake of mine r=matklad a=Veetaha Shame on me... Fixes #3056 Co-authored-by: Veetaha <gerzoh1@gmail.com>
This commit is contained in:
commit
a90f5b0787
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ export function activateInlayHints(ctx: Ctx) {
|
|||
|
||||
vscode.workspace.onDidChangeTextDocument(
|
||||
async event => {
|
||||
if (event.contentChanges.length !== 0) return;
|
||||
if (event.contentChanges.length === 0) return;
|
||||
if (event.document.languageId !== 'rust') return;
|
||||
await hintsUpdater.refresh();
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue