aboutsummaryrefslogtreecommitdiff
path: root/docs/dev
diff options
context:
space:
mode:
authorveetaha <[email protected]>2020-05-31 03:13:08 +0100
committerveetaha <[email protected]>2020-05-31 03:21:45 +0100
commitd605ec9c321392d9c7ee4b440c560e1e405d92e6 (patch)
tree58d16996d1d1a05733dcc85ae4efddc563b3d3b1 /docs/dev
parenta419cedb1cc661349a022262c8b03993e063252f (diff)
Change Runnable.bin -> Runnable.kind
As per matklad, we now pass the responsibility for finding the binary to the frontend. Also, added caching for finding the binary path to reduce the amount of filesystem interactions.
Diffstat (limited to 'docs/dev')
-rw-r--r--docs/dev/lsp-extensions.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/dev/lsp-extensions.md b/docs/dev/lsp-extensions.md
index dbc95be38..d06da355d 100644
--- a/docs/dev/lsp-extensions.md
+++ b/docs/dev/lsp-extensions.md
@@ -417,7 +417,7 @@ interface Runnable {
417 /// The label to show in the UI. 417 /// The label to show in the UI.
418 label: string; 418 label: string;
419 /// The following fields describe a process to spawn. 419 /// The following fields describe a process to spawn.
420 bin: string; 420 kind: "cargo" | "rustc" | "rustup";
421 args: string[]; 421 args: string[];
422 /// Args for cargo after `--`. 422 /// Args for cargo after `--`.
423 extraArgs: string[]; 423 extraArgs: string[];