summaryrefslogtreecommitdiffstats
path: root/ftplugin/dune.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/dune.vim')
-rw-r--r--ftplugin/dune.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftplugin/dune.vim b/ftplugin/dune.vim
index 92c471f4..9d86d0a5 100644
--- a/ftplugin/dune.vim
+++ b/ftplugin/dune.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'ocaml')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'ocaml', 'ftplugin/dune.vim')
finish
endif