This PR adds prettierd to the available formatters.
Everywhere that prettier was present, there is now also an entry for prettierd.
prettierd is preferred over prettier, when it is installed.
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.
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.