mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 20:43:21 +00:00
vscode: fix stupid mistake
This commit is contained in:
parent
77d27c67c1
commit
6e22e33d7d
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