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