Skip to content

Commit

Permalink
Merge pull request #382 from lunik1/cljfmt
Browse files Browse the repository at this point in the history
add cljfmt
  • Loading branch information
domenkozar authored Jan 7, 2024
2 parents 9d3d7e1 + a44c73b commit 44493e2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ use nix
## Clojure
- [cljfmt](https://github.com/weavejester/cljfmt)
- [zprint](https://github.com/kkinnear/zprint)
## Elm
Expand Down
8 changes: 8 additions & 0 deletions modules/hooks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2009,6 +2009,14 @@ in
types = [ "toml" ];
};

cljfmt =
{
name = "cljfmt";
description = "A tool for formatting Clojure code.";
entry = "${pkgs.cljfmt}/bin/cljfmt fix";
types_or = [ "clojure" "clojurescript" "edn" ];
};

zprint =
{
name = "zprint";
Expand Down

0 comments on commit 44493e2

Please sign in to comment.