language-graphql
language-graphql copied to clipboard
Broken syntax highlighting for @doc within enum
Problem
Highlighting fails inside the enum
declaration. Everything wants to be orange.
Screenshot
Testing code
type ApprovalRequirements {
approval_list_required: Boolean @doc(description: "Require approval if items are not in a list.")
approval_subtotal: Float @doc(description: "Dollar amount. Theshold determined when 'Sometimes require approval' is set.")
approver_id: ID @doc(description: "Entity ID of the user who approves.")
requires_approval: RequiresApprovalEnum! @doc(description: "")
}
enum RequiresApprovalEnum @doc(description: "State for when approval is required, which determines approval conditions.") {
ALWAYS @doc(description: "Always require approval")
NEVER @doc(description: "Does not require approval")
SOMETIMES @doc(description: "Sometimes require approval")
}