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