mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
flake/devshell: add treefmt to shell
This commit is contained in:
parent
4c989abc8c
commit
2628efee71
1 changed files with 4 additions and 0 deletions
|
@ -16,6 +16,10 @@
|
|||
devshells.default = {
|
||||
devshell.startup.pre-commit.text = config.pre-commit.installationScript;
|
||||
|
||||
devshell.packages = [
|
||||
config.formatter
|
||||
];
|
||||
|
||||
commands =
|
||||
let
|
||||
# Thanks to this, the user can choose to use `nix-output-monitor` (`nom`) instead of plain `nix`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue