diff options
Diffstat (limited to 'syntax/graphql.vim')
-rw-r--r-- | syntax/graphql.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/graphql.vim b/syntax/graphql.vim index 1a787816..25efe508 100644 --- a/syntax/graphql.vim +++ b/syntax/graphql.vim @@ -35,7 +35,7 @@ syn match graphqlDirective "\<@\h\w*\>" display syn match graphqlVariable "\<\$\h\w*\>" display syn match graphqlName "\<\h\w*\>" display syn match graphqlType "\<_*\u\w*\>" display -syn match graphqlConstant "\<[A-Z_]\+\>" display +syn match graphqlConstant "\<[_A-Z][_A-Z0-9]*\>" display syn keyword graphqlMetaFields __schema __type __typename |