diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2024-07-06 16:28:45 +0200 |
|---|---|---|
| committer | Lukas Wirth <lukastw97@gmail.com> | 2024-07-06 16:36:27 +0200 |
| commit | 9959546c8abe61f0253d0c90603738edb6f6978b (patch) | |
| tree | 7208aeb5462f818a5ca92466111017f526946272 /src/tools/rust-analyzer/docs/dev | |
| parent | 0859772dbe093c7f2176fcc641bd254588a5f585 (diff) | |
| download | rust-9959546c8abe61f0253d0c90603738edb6f6978b.tar.gz rust-9959546c8abe61f0253d0c90603738edb6f6978b.zip | |
Flatten cargoExtraArgs away from the runnable lsp extension
Diffstat (limited to 'src/tools/rust-analyzer/docs/dev')
| -rw-r--r-- | src/tools/rust-analyzer/docs/dev/lsp-extensions.md | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/tools/rust-analyzer/docs/dev/lsp-extensions.md b/src/tools/rust-analyzer/docs/dev/lsp-extensions.md index 1cafcae7bb6..a1470fc567b 100644 --- a/src/tools/rust-analyzer/docs/dev/lsp-extensions.md +++ b/src/tools/rust-analyzer/docs/dev/lsp-extensions.md @@ -1,5 +1,5 @@ <!--- -lsp/ext.rs hash: 3605fab9e66e14a0 +lsp/ext.rs hash: a0867710490bf8da If you need to change the above hash to make the test pass, please check if you need to adjust this doc as well and ping this issue: @@ -379,7 +379,7 @@ rust-analyzer supports two `kind`s of runnables, `"cargo"` and `"shell"`. The `a /** * Environment variables to set before running the command. */ - environment: Record<string, string>; + environment?: Record<string, string>; /** * The working directory to run the command in. */ @@ -393,11 +393,6 @@ rust-analyzer supports two `kind`s of runnables, `"cargo"` and `"shell"`. The `a */ cargoArgs: string[]; /** - * Extra arguments to pass to cargo. - */ - // What is the point of this when cargoArgs exists? - cargoExtraArgs: string[]; - /** * Arguments to pass to the executable, these will be passed to the command after a `--` argument. */ executableArgs: string[]; @@ -415,7 +410,7 @@ The args for `"shell"` look like this: /** * Environment variables to set before running the command. */ - environment: Record<string, string>; + environment?: Record<string, string>; /** * The working directory to run the command in. */ |
