diff options
Diffstat (limited to '')
-rw-r--r-- | syntax/graphql.vim | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/syntax/graphql.vim b/syntax/graphql.vim index 06223576..b30b2228 100644 --- a/syntax/graphql.vim +++ b/syntax/graphql.vim @@ -1,7 +1,4 @@ -if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'graphql') != -1 - finish -endif - +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'graphql') == -1 " Vim syntax file " Language: GraphQL " Maintainer: Jon Parise <jon@indelible.org> @@ -66,3 +63,4 @@ hi def link graphqlVariable Identifier syn sync minlines=500 let b:current_syntax = 'graphql' +endif |