summaryrefslogtreecommitdiffstats
path: root/syntax/graphql.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2019-12-07 12:21:37 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2019-12-07 12:21:37 +0100
commit7a0f2d974f9ac5bc85607e8c769d3370dd18ac74 (patch)
tree5c2b955af8e0f2ed54442d9e938fad403148ffce /syntax/graphql.vim
parent15aeea662e0b08088ac7b6e3ee661c834e69106a (diff)
downloadvim-polyglot-7a0f2d974f9ac5bc85607e8c769d3370dd18ac74.tar.gz
vim-polyglot-7a0f2d974f9ac5bc85607e8c769d3370dd18ac74.zip
Updatev4.1.2
Diffstat (limited to 'syntax/graphql.vim')
-rw-r--r--syntax/graphql.vim2
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