feat: Added rust-analyzer

This commit is contained in:
uttarayan21
2025-07-14 23:15:04 +05:30
parent 4970071078
commit e1bb419c66
4 changed files with 28 additions and 7 deletions

View File

@@ -381,7 +381,7 @@ in {
};
};
rustaceanvim = {
enable = true;
enable = false;
settings = {
server = {
on_attach = rawLua ''
@@ -489,6 +489,25 @@ in {
slint_lsp.enable = true;
sourcekit.enable = true;
openscad_lsp.enable = true;
rust_analyzer = {
enable = true;
installCargo = false;
installRustc = false;
settings = {
inlayHints = {
typeHints.enable = true;
};
files.exclude = [
".cargo/"
".direnv/"
".git/"
".vcpkg/"
"node_modules/"
"target/"
"vendor/"
];
};
};
};
onAttach =
/*