Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graphlql isn't not formatted on save #56

Open
mostrecent opened this issue May 1, 2020 · 1 comment
Open

Graphlql isn't not formatted on save #56

mostrecent opened this issue May 1, 2020 · 1 comment

Comments

@mostrecent
Copy link

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.

@wongjiahau
Copy link

You have to set the file to graphql.
Type:

:setfiletype graphql

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants