From 7a0f2d974f9ac5bc85607e8c769d3370dd18ac74 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sat, 7 Dec 2019 12:21:37 +0100 Subject: Update --- syntax/graphql.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'syntax/graphql.vim') 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 -- cgit v1.2.3