feat(nvim): enable nixd

This commit was merged in pull request #100.
This commit is contained in:
2026-09-26 22:36:03 -04:00
parent 8000367613
commit 09a2093f90
2 changed files with 8 additions and 2 deletions

View File

@@ -32,6 +32,7 @@ in
ripgrep # backs the picker's live grep
fd # backs the picker's file finder
wl-clipboard # provides a non-blocking clipboard provider on Wayland
nixd # provides Nix language-server support
];
globals.mapleader = " ";
@@ -189,6 +190,8 @@ in
installRustc = false;
installRustfmt = false;
};
servers.nixd.enable = true;
};
gitsigns = {

View File

@@ -12,7 +12,10 @@ After editing Nix files, run:
```bash
nix run .#fix
bazel run //src/natu:natu -- <modified-nix-paths>
```
Finish when `nix run .#fix` succeeds and the Nix change follows the loaded rules.
If the command fails, report the failure.
Pass every modified Nix path to Natu.
Finish when both commands succeed and the Nix change follows the loaded rules.
If a command fails, report the failure.