1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 08:10:43 +01:00

fix(rust): include rust-analyzer in toolchain

This commit is contained in:
Ryan Cao 2024-09-20 13:02:20 +08:00
parent 2305bad15f
commit 2756c5af57
Signed by: ryanccn
GPG key ID: 48C96B2057D71CB1
3 changed files with 25 additions and 7 deletions

View file

@ -173,7 +173,8 @@ in
"[rust]"."editor.tabSize" = 4;
"[rust]"."editor.defaultFormatter" = "rust-lang.rust-analyzer";
"rust-analyzer.server.path" = "${pkgs.rust-analyzer}/bin/rust-analyzer";
"rust-analyzer.server.path" = "rust-analyzer";
"rust-analyzer.check.command" = "clippy";
"rust-analyzer.showUnlinkedFileNotification" = false;