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