rmosolgo / language-graphql

GraphQL support for Atom text editor
MIT License
57 stars 13 forks source link

Fix definitions highlighting after field and variable #25

Open Hellzed opened 4 years ago

Hellzed commented 4 years ago

Before this change, description strings are not highlighted after:

image

Descriptions for type fields and field variables are explicitly allowed by the GraphQL spec.

This change fixes highlighting of string values in types and fields, according to the spec. image

FallingSnow commented 4 years ago

Any chance of implementing this pull request?

Hellzed commented 4 years ago

@FallingSnow Actually I think it might cause other issues... I think it would just be better to port it to a TreeSitter grammar.