mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
flake/devshell: run treefmt directly in format
command
This is much faster than running `nix fmt`. Running treefmt directly will use the treefmt installed in the current shell. Running `nix fmt` will first re-evaluate the flake.
This commit is contained in:
parent
46e1359338
commit
4c989abc8c
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@
|
|||
{
|
||||
name = "format";
|
||||
help = "Format the entire codebase";
|
||||
command = "nix fmt";
|
||||
command = lib.getExe config.formatter;
|
||||
}
|
||||
{
|
||||
name = "docs";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue