summaryrefslogtreecommitdiffstats
path: root/indent/dune.vim
blob: f2c0661556e8e286df70b1ce53ad2938ddfbe70d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
if !polyglot#util#IsEnabled('ocaml', expand('<sfile>:p'))
  finish
endif

" Vim indent file
" Language: dune

if exists("b:did_indent")
 finish
endif
let b:did_indent = 1

" dune format-dune-file uses 1 space to indent
set softtabstop=1 shiftwidth=1 expandtab