Skip to content

Commit

Permalink
Update README Rust-analyzer setting (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
vwkd authored Nov 27, 2023
1 parent 3cc42eb commit b062069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ information, rust-analyzer must be configured to use `cargo component check` as
the check command.

To configure rust-analyzer to use the `cargo-component` executable, set the
`rust-analyzer.server.extraEnv` setting to the following:
`rust-analyzer.check.overrideCommand` setting to the following:

```json
"rust-analyzer.check.overrideCommand": ["cargo", "component", "check", "--message-format=json"]
Expand Down

0 comments on commit b062069

Please sign in to comment.