coc-prettier icon indicating copy to clipboard operation
coc-prettier copied to clipboard

Graphlql isn't not formatted on save

Open mostrecent opened this issue 4 years ago • 1 comments

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.

mostrecent avatar May 01 '20 07:05 mostrecent

You have to set the file to graphql. Type:

:setfiletype graphql

wongjiahau avatar Jun 09 '21 05:06 wongjiahau