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