zephraph / vue-graphql-loader

Custom block support for GraphQL operations in Vue's single file components
MIT License
50 stars 0 forks source link

VS Code: highlight of graphql section in vue SFC #59

Open georgyfarniev opened 5 years ago

georgyfarniev commented 5 years ago

Hello, is there any way to make highlight work for sfc section?

UPD: already found it: https://vuejs.github.io/vetur/highlighting.html#custom-block

Also, after configuration, a command should be called (Vetur: generate grammar for vetur.grammar.customBlocks) and vs code should be restarted in order to enable this feature.

I think it deserves it's place in documentation. I will create PR with little update on documentation later

TeamDman commented 4 years ago

Any way to get linters like prettier to work on the graphql blocks?