jparise / vim-graphql

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

Add support for comment-based syntax tagging #69

Closed jparise closed 3 years ago

jparise commented 3 years ago

This provides a way to highlight JavaScript template strings as GraphQL by simply adding a # gql comment to the start of the string.

Closes #23