Add dprint plugins
This commit is contained in:
parent
6a7cd29f94
commit
91ccf5d19c
1 changed files with 11 additions and 2 deletions
13
flake.nix
13
flake.nix
|
@ -1,4 +1,3 @@
|
||||||
# TODO: Add flake-utils, flake-parts, git-pre-hook
|
|
||||||
{
|
{
|
||||||
description = "Home Manager configuration";
|
description = "Home Manager configuration";
|
||||||
inputs = {
|
inputs = {
|
||||||
|
@ -282,8 +281,18 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
strict = true;
|
strict = true;
|
||||||
};
|
};
|
||||||
prettier = {
|
dprint = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
plugins = (
|
||||||
|
pkgs.dprint-plugins.getPluginList (
|
||||||
|
plugins: with plugins; [
|
||||||
|
dprint-plugin-markdown
|
||||||
|
g-plane-pretty_yaml
|
||||||
|
]
|
||||||
|
)
|
||||||
|
);
|
||||||
|
};
|
||||||
};
|
};
|
||||||
taplo = {
|
taplo = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue