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:
parent
81e28e7a41
commit
ac709b58f2
1 changed files with 6 additions and 1 deletions
|
@ -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";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue