flake: add formatter
This commit is contained in:
parent
49c8a13409
commit
9656a169f5
1 changed files with 5 additions and 0 deletions
|
@ -16,6 +16,7 @@
|
|||
cargo
|
||||
];
|
||||
in {
|
||||
### nix {run,shell,build}
|
||||
packages.default =
|
||||
pkgs.wrapNeovimUnstable pkgs.neovim-unwrapped
|
||||
(pkgs.neovimUtils.makeNeovimConfig {
|
||||
|
@ -26,6 +27,10 @@
|
|||
}
|
||||
// {wrapperArgs = ["--prefix" "PATH" ":" "${lib.makeBinPath runtimeDeps}"];});
|
||||
|
||||
### nix fmt
|
||||
formatter = inputs.nixpkgs.legacyPackages.${system}.alejandra;
|
||||
|
||||
### nix develop
|
||||
devShells.default = pkgs.mkShell {
|
||||
nativeBuildInputs = with pkgs; [
|
||||
stylua
|
||||
|
|
Loading…
Reference in a new issue