This commit is contained in:
Harivansh Rathi 2026-03-25 12:44:52 -04:00
parent 0a4a467aba
commit 41186b8c17
2 changed files with 6 additions and 2 deletions

View file

@ -1,7 +1,8 @@
return {
settings = {
['rust-analyzer'] = {
checkOnSave = { command = 'clippy' },
checkOnSave = true,
check = { command = 'clippy' },
cargo = { allFeatures = true },
procMacro = { enable = true },
diagnostics = { enable = true },

View file

@ -16,6 +16,10 @@
exec ${pkgs.python3}/bin/python3 "$@"
'';
in {
# Keep rust-analyzer in the user profile so it shadows rustup's proxy in
# /run/current-system/sw/bin when Neovim resolves LSP executables.
home.packages = [pkgs.rust-analyzer];
programs.neovim = {
enable = true;
viAlias = true;
@ -38,7 +42,6 @@ in {
python
python3
ripgrep
rust-analyzer
stylua
vscode-langservers-extracted
nodePackages.bash-language-server