summaryrefslogtreecommitdiffstats
path: root/after/syntax/vue/graphql.vim
diff options
context:
space:
mode:
Diffstat (limited to 'after/syntax/vue/graphql.vim')
-rw-r--r--after/syntax/vue/graphql.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/after/syntax/vue/graphql.vim b/after/syntax/vue/graphql.vim
index c86f9d23..52628a1a 100644
--- a/after/syntax/vue/graphql.vim
+++ b/after/syntax/vue/graphql.vim
@@ -1,5 +1,5 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'graphql') == -1
+if !polyglot#util#IsEnabled('graphql', expand('<sfile>:p'))
+ finish
+endif
runtime! after/syntax/javascript/graphql.vim
-
-endif