Prettier 1.5 has been release highlights are:
We should be able now include JSON and GraphQL support
Yeah, would love json filetype to be automatically detected too, it would be awesome!
Detecting *.graphql and *.gql files would be enough, I think.
graphql support was added by https://github.com/mitermayer/vim-prettier/pull/17, and it should work as long as the graphql filetype detection is provided by some other vim plugin.
To avoid relying on other plugins for filetype detection I will be tracking it on https://github.com/mitermayer/vim-prettier/issues/23
Makes a lot of sense. Thank you!
@andreiglingeanu done :)