mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +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(
|
vscode.workspace.onDidChangeTextDocument(
|
||||||
async event => {
|
async event => {
|
||||||
if (event.contentChanges.length !== 0) return;
|
if (event.contentChanges.length === 0) return;
|
||||||
if (event.document.languageId !== 'rust') return;
|
if (event.document.languageId !== 'rust') return;
|
||||||
await hintsUpdater.refresh();
|
await hintsUpdater.refresh();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue