treefmt-nix icon indicating copy to clipboard operation
treefmt-nix copied to clipboard

Support `dprint` custom formatter options

Open dephiros opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. I am trying to see dprint file association for this plugin: https://github.com/g-plane/markup_fmt which requires markup config. Error:

       error: The option `programs.dprint.settings.markup' does not exist. Definition values:
       - In `/nix/store/3gchkgvjabjq2b8jblmzwcczq68z9613-source/treefmt.nix':
           {
             associations = [
               ".html"
               ".svg"
               ".mustache"
           ...

https://dprint.dev/config/#associations

Describe the solution you'd like A way to specify dprint extra config

Describe alternatives you've considered

🤔

Additional context

dephiros avatar Jan 15 '24 14:01 dephiros

/cc @gkze

zimbatm avatar Jan 15 '24 15:01 zimbatm