vim-polyglot/indent/dune.vim

15 lines
280 B
VimL
Raw Permalink Normal View History

2019-07-01 10:25:37 -04:00
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'ocaml') != -1
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