aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/code/package.json8
-rw-r--r--editors/code/src/inlay_hints.ts1
2 files changed, 8 insertions, 1 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 93d94ed12..034090155 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -350,6 +350,14 @@
350 "default": null, 350 "default": null,
351 "description": "List of features to activate. Defaults to `rust-analyzer.cargo.features`." 351 "description": "List of features to activate. Defaults to `rust-analyzer.cargo.features`."
352 }, 352 },
353 "rust-analyzer.checkOnSave.target": {
354 "type": [
355 "null",
356 "string"
357 ],
358 "default": null,
359 "description": "Check for a specific target. Defaults to `rust-analyzer.cargo.target`."
360 },
353 "rust-analyzer.cargoRunner": { 361 "rust-analyzer.cargoRunner": {
354 "type": [ 362 "type": [
355 "null", 363 "null",
diff --git a/editors/code/src/inlay_hints.ts b/editors/code/src/inlay_hints.ts
index 7b481fc72..30ade9b98 100644
--- a/editors/code/src/inlay_hints.ts
+++ b/editors/code/src/inlay_hints.ts
@@ -111,7 +111,6 @@ class HintsUpdater implements Disposable {
111 } 111 }
112 112
113 syncCacheAndRenderHints() { 113 syncCacheAndRenderHints() {
114 // FIXME: make inlayHints request pass an array of files?
115 this.sourceFiles.forEach((file, uri) => this.fetchHints(file).then(hints => { 114 this.sourceFiles.forEach((file, uri) => this.fetchHints(file).then(hints => {
116 if (!hints) return; 115 if (!hints) return;
117 116