1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-29 11:07:44 +00:00

feat: configure rust-analyzer better

This commit is contained in:
RGBCube 2025-03-21 00:53:05 +03:00
parent 81e28e7a41
commit ac709b58f2
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M

View file

@ -167,7 +167,12 @@ in {
}; };
languages.language-server.rust-analyzer = { languages.language-server.rust-analyzer = {
config.check.command = "clippy"; config = {
cargo.features = "all";
check.command = "clippy";
completion.callable.snippets = "add_parentheses";
completion.excludeTraits = [ "yansi::Paint" ];
};
}; };
settings.theme = "gruvbox_dark_hard"; settings.theme = "gruvbox_dark_hard";