feat(nvim): enable nixd
This commit was merged in pull request #100.
This commit is contained in:
@@ -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 = {
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user