jparise / vim-graphql

A Vim plugin that provides GraphQL file detection, syntax highlighting, and indentation.
MIT License
487 stars 25 forks source link

Support both #gql and #graphql #81

Closed cpitt closed 2 years ago

cpitt commented 2 years ago

The VSCode graphql plugin uses #graphql not #gql to indicate graphql syntax. In order to allow vim users to work in the same repo as vscode users adding #graphql comment to javascript syntax