summaryrefslogtreecommitdiffstats
path: root/ftplugin/groovy.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/groovy.vim')
-rw-r--r--ftplugin/groovy.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftplugin/groovy.vim b/ftplugin/groovy.vim
index cf78a14e..d87b3d56 100644
--- a/ftplugin/groovy.vim
+++ b/ftplugin/groovy.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('groovy', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'groovy')
finish
endif