Skip to content

Commit

Permalink
Merge pull request #837 from getong/only_check_current_crate
Browse files Browse the repository at this point in the history
enable all feature, only check current crate in workspace
  • Loading branch information
manateelazycat authored Jan 25, 2024
2 parents 54cc1d3 + 549e087 commit 685ed57
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions langserver/rust-analyzer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"enable": true
},
"cargo": {
"features": "",
"features": "all",
"noDefaultFeatures": false,
"runBuildScripts": true,
"loadOutDirsFromCheck": true,
Expand All @@ -25,9 +25,10 @@
},
"checkOnSave": {
"enable": false,
"allTargets": false,
"features": "null",
"overrideCommand": null
"allTargets": true,
"features": "all",
"invocationLocation": "root",
"invocationStrategy": "once"
},
"completion": {
"addCallParenthesis": true,
Expand Down

0 comments on commit 685ed57

Please sign in to comment.