mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35: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 = {
|
devshells.default = {
|
||||||
devshell.startup.pre-commit.text = config.pre-commit.installationScript;
|
devshell.startup.pre-commit.text = config.pre-commit.installationScript;
|
||||||
|
|
||||||
|
devshell.packages = [
|
||||||
|
config.formatter
|
||||||
|
];
|
||||||
|
|
||||||
commands =
|
commands =
|
||||||
let
|
let
|
||||||
# Thanks to this, the user can choose to use `nix-output-monitor` (`nom`) instead of plain `nix`
|
# 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