graphql-for-vscode
graphql-for-vscode copied to clipboard
Add directive highlighting for type system directives
GraphQL directives can be added to many places: https://spec.graphql.org/draft/#sec-Type-System.Directives
Currently not all places listed in the spec are supported for syntax highlighting. Especially many type system directive locations are missing. This pull request adds the missing places to the grammar, so that directives are syntax highlighted on all possible places.