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";
|
||||
inputs = {
|
||||
|
@ -282,8 +281,18 @@
|
|||
enable = true;
|
||||
strict = true;
|
||||
};
|
||||
prettier = {
|
||||
dprint = {
|
||||
enable = true;
|
||||
settings = {
|
||||
plugins = (
|
||||
pkgs.dprint-plugins.getPluginList (
|
||||
plugins: with plugins; [
|
||||
dprint-plugin-markdown
|
||||
g-plane-pretty_yaml
|
||||
]
|
||||
)
|
||||
);
|
||||
};
|
||||
};
|
||||
taplo = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue