feat(nvim): enable nixd #100
@@ -32,6 +32,7 @@ in
|
|||||||
ripgrep # backs the picker's live grep
|
ripgrep # backs the picker's live grep
|
||||||
fd # backs the picker's file finder
|
fd # backs the picker's file finder
|
||||||
wl-clipboard # provides a non-blocking clipboard provider on Wayland
|
wl-clipboard # provides a non-blocking clipboard provider on Wayland
|
||||||
|
nixd # provides Nix language-server support
|
||||||
];
|
];
|
||||||
|
|
||||||
globals.mapleader = " ";
|
globals.mapleader = " ";
|
||||||
@@ -189,6 +190,8 @@ in
|
|||||||
installRustc = false;
|
installRustc = false;
|
||||||
installRustfmt = false;
|
installRustfmt = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
servers.nixd.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
gitsigns = {
|
gitsigns = {
|
||||||
|
|||||||
@@ -12,7 +12,10 @@ After editing Nix files, run:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
nix run .#fix
|
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.
|
Pass every modified Nix path to Natu.
|
||||||
If the command fails, report the failure.
|
|
||||||
|
Finish when both commands succeed and the Nix change follows the loaded rules.
|
||||||
|
If a command fails, report the failure.
|
||||||
|
|||||||
Reference in New Issue
Block a user