Skip to content

Commit

Permalink
chore: add command override for lsp's cargo check (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
sehnryr authored Jul 5, 2024
1 parent 38db4fd commit 704610a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .zed/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// Folder-specific settings
//
// For a full list of overridable settings, and general information on folder-specific settings,
// see the documentation: https://zed.dev/docs/configuring-zed#folder-specific-settings
{
"lsp": {
"rust-analyzer": {
"initialization_options": {
"check": {
"overrideCommand": [
"cargo",
"component",
"check",
"--workspace",
"--all-targets",
"--message-format=json"
]
}
}
}
}
}

0 comments on commit 704610a

Please sign in to comment.