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