summaryrefslogtreecommitdiff
path: root/mnv/runtime/indent/dune.mnv
diff options
context:
space:
mode:
Diffstat (limited to 'mnv/runtime/indent/dune.mnv')
-rw-r--r--mnv/runtime/indent/dune.mnv16
1 files changed, 16 insertions, 0 deletions
diff --git a/mnv/runtime/indent/dune.mnv b/mnv/runtime/indent/dune.mnv
new file mode 100644
index 0000000000..516c790cf0
--- /dev/null
+++ b/mnv/runtime/indent/dune.mnv
@@ -0,0 +1,16 @@
+" MNV indent file
+" Language: dune
+" Maintainers: Markus Mottl <markus.mottl@gmail.com>
+" URL: https://github.com/ocaml/mnv-ocaml
+" Last Change: 2021 Jan 01
+" 2023 Aug 28 by MNV Project (undo_indent)
+
+if exists("b:did_indent")
+ finish
+endif
+let b:did_indent = 1
+
+" dune format-dune-file uses 1 space to indent
+setlocal softtabstop=1 shiftwidth=1 expandtab
+
+let b:undo_indent = "setl et< sts< sw<"