summaryrefslogtreecommitdiffstats
path: root/syntax/coffee.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/coffee.vim')
-rw-r--r--syntax/coffee.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/coffee.vim b/syntax/coffee.vim
index 3b7c05b6..76f28b76 100644
--- a/syntax/coffee.vim
+++ b/syntax/coffee.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'coffee-script')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'coffee-script', 'syntax/coffee.vim')
finish
endif