Bram Moolenaar | 7e6a515 | 2021-01-02 16:39:53 +0100 | [diff] [blame] | 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 |
dkearns | 0382f05 | 2023-08-29 05:32:59 +1000 | [diff] [blame] | 6 | " 2023 Aug 28 by Vim Project (undo_indent) |
Bram Moolenaar | 7e6a515 | 2021-01-02 16:39:53 +0100 | [diff] [blame] | 7 | |
| 8 | if exists("b:did_indent") |
| 9 | finish |
| 10 | endif |
| 11 | let b:did_indent = 1 |
| 12 | |
| 13 | " dune format-dune-file uses 1 space to indent |
| 14 | setlocal softtabstop=1 shiftwidth=1 expandtab |
dkearns | 0382f05 | 2023-08-29 05:32:59 +1000 | [diff] [blame] | 15 | |
| 16 | let b:undo_indent = "setl et< sts< sw<" |