Skip to content

Commit

Permalink
Replace kdlfmt with kachick/dprint-plugin-kdl
Browse files Browse the repository at this point in the history
I have created a dprint plugin

https://github.com/kachick/dprint-plugin-kdl

To avoid treefmt integration problem with the kdlfmt interface design

hougesen/kdlfmt#35
  • Loading branch information
kachick committed Aug 10, 2024
1 parent c2166ad commit 0c2e2f3
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 609 deletions.
3 changes: 2 additions & 1 deletion dprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"https://plugins.dprint.dev/json-0.19.3.wasm",
"https://plugins.dprint.dev/markdown-0.17.2.wasm",
"https://plugins.dprint.dev/toml-0.6.2.wasm",
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.4.0.wasm"
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.4.0.wasm",
"https://github.com/kachick/dprint-plugin-kdl/releases/download/0.1.0/plugin.wasm"
]
}
4 changes: 1 addition & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
let
pkgs = nixpkgs.legacyPackages.${system};
edge-pkgs = edge-nixpkgs.legacyPackages.${system};
homemade-pkgs = homemade-packages.${system};
in
{
default =
Expand Down Expand Up @@ -104,8 +103,7 @@
# https://github.com/numtide/treefmt/pull/250
treefmt2
markdownlint-cli2
])
++ (with homemade-pkgs; [ kdlfmt ]);
]);
};
}
);
Expand Down
2 changes: 0 additions & 2 deletions pkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@
beedii = pkgs.callPackage ./beedii { };
cozette = pkgs.callPackage ./cozette { };

kdlfmt = pkgs.callPackage ./kdlfmt { };

posix_shared_functions = pkgs.callPackage ./posix_shared_functions { };

get-rclone-config-password = import ./get-rclone-config-password { inherit pkgs edge-pkgs; };
Expand Down
Loading

0 comments on commit 0c2e2f3

Please sign in to comment.