Skip to content

Commit a6a5332

Browse files
committed
feat: add cue
1 parent 548fc44 commit a6a5332

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,10 @@ use nix
266266

267267
- [crystal](https://crystal-lang.org/reference/man/crystal#crystal-tool-format)
268268

269+
### CUE
270+
271+
- [cue-fmt](https://github.com/cue-lang/cue)
272+
269273
### Dart
270274

271275
- [dart analyze](https://dart.dev/tools/dart-analyze)
@@ -411,7 +415,6 @@ use nix
411415
### Purescript
412416

413417
- [purs-tidy](https://github.com/natefaubion/purescript-tidy)
414-
- [purty](https://gitlab.com/joneshf/purty)
415418

416419
### Python
417420

modules/hooks.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2661,6 +2661,13 @@ in
26612661
entry = "${hooks.crystal.package}/bin/crystal tool format";
26622662
files = "\\.cr$";
26632663
};
2664+
cue-fmt = {
2665+
name = "cue fmt";
2666+
description = "Format CUE files";
2667+
package = tools.cue;
2668+
entry = "${hooks.cue-fmt.package}/bin/cue fmt";
2669+
files = "\\.cue$";
2670+
};
26642671
cspell =
26652672
{
26662673
name = "cspell";

nix/tools.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
, conform
2222
, convco
2323
, crystal
24+
, cue
2425
, dart
2526
, deadnix
2627
, deno
@@ -132,6 +133,7 @@ in
132133
conform
133134
convco
134135
crystal
136+
cue
135137
dart
136138
deadnix
137139
deno

0 commit comments

Comments
 (0)