dune.vim 430 B

1234567891011121314151617
  1. " Vim indent file
  2. " Language: dune
  3. " Maintainers: Markus Mottl <markus.mottl@gmail.com>
  4. " URL: https://github.com/ocaml/vim-ocaml
  5. " Last Change: 2021 Jan 01
  6. " 2023 Aug 28 by Vim Project (undo_indent)
  7. if exists("b:did_indent")
  8. finish
  9. endif
  10. let b:did_indent = 1
  11. " dune format-dune-file uses 1 space to indent
  12. setlocal softtabstop=1 shiftwidth=1 expandtab
  13. let b:undo_indent = "setl et< sts< sw<"