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