coc-prettier
coc-prettier copied to clipboard
Graphlql isn't not formatted on save
I tried graphql code as template string preceded with gql
and as dedicated .graphql
file but nothing happens on save.
I have set "coc.preferences.formatOnSaveFiletypes": ["*"]
in my config.
You have to set the file to graphql. Type:
:setfiletype graphql