Mercurial > vim
annotate runtime/indent/dune.vim @ 33219:ebb36e3d5299
merge heads
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 09 Sep 2023 10:23:28 +0200 |
parents | 5c220cf30f1f |
children |
rev | line source |
---|---|
23466 | 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 | |
33052
5c220cf30f1f
runtime: Set b:undo_indent where missing (#12944)
Christian Brabandt <cb@256bit.org>
parents:
23466
diff
changeset
|
6 " 2023 Aug 28 by Vim Project (undo_indent) |
23466 | 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 | |
33052
5c220cf30f1f
runtime: Set b:undo_indent where missing (#12944)
Christian Brabandt <cb@256bit.org>
parents:
23466
diff
changeset
|
15 |
5c220cf30f1f
runtime: Set b:undo_indent where missing (#12944)
Christian Brabandt <cb@256bit.org>
parents:
23466
diff
changeset
|
16 let b:undo_indent = "setl et< sts< sw<" |