diff options
Diffstat (limited to 'indent/dune.vim')
-rw-r--r-- | indent/dune.vim | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/indent/dune.vim b/indent/dune.vim index 3f8e7e87..6f3e709b 100644 --- a/indent/dune.vim +++ b/indent/dune.vim @@ -1,7 +1,4 @@ -if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'ocaml') != -1 - finish -endif - +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ocaml') == -1 " Vim indent file " Language: dune @@ -12,3 +9,4 @@ let b:did_indent = 1 " dune format-dune-file uses 1 space to indent set softtabstop=1 shiftwidth=1 expandtab +endif |