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 671c8a0b..33657e32 100644
--- a/syntax/hercules.vim
+++ b/syntax/hercules.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'hercules')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'hercules', 'syntax/hercules.vim')
finish
endif