feat(nvim): enable nixd #100

Merged
alexion merged 1 commits from nixd-lsp into main 2026-09-26 22:37:23 -04:00
2 changed files with 8 additions and 2 deletions
Showing only changes of commit 09a2093f90 - Show all commits

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.