helix: Use deno formatter for JSON too
This commit is contained in:
parent
c89b356601
commit
5c6a84d708
1 changed files with 4 additions and 2 deletions
|
|
@ -43,9 +43,11 @@
|
||||||
{
|
{
|
||||||
name = "json";
|
name = "json";
|
||||||
formatter = {
|
formatter = {
|
||||||
command = "${pkgs.nodePackages.prettier}/bin/prettier";
|
command = "${pkgs.deno}/bin/deno";
|
||||||
args = [
|
args = [
|
||||||
"--parser"
|
"fmt"
|
||||||
|
"-"
|
||||||
|
"--ext"
|
||||||
"json"
|
"json"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue