sbdchd / neoformat

:sparkles: A (Neo)vim plugin for formatting code.
BSD 2-Clause "Simplified" License
1.99k stars 189 forks source link

Add prettierd #397

Closed mmirus closed 2 years ago

mmirus commented 2 years ago

Closes https://github.com/sbdchd/neoformat/issues/373

This PR adds prettierd to the available formatters.

In some cases, the arguments passed to prettier include additional options (e.g., vue). I did not try to preserve those options in the prettierd flags. I'm not sure if this will cause problems for anyone; those options haven't been needed in my use cases yet.