summaryrefslogtreecommitdiffstats
path: root/runtime/indent/mail.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/indent/mail.vim')
-rw-r--r--runtime/indent/mail.vim15
1 files changed, 15 insertions, 0 deletions
diff --git a/runtime/indent/mail.vim b/runtime/indent/mail.vim
new file mode 100644
index 0000000..22bb0f7
--- /dev/null
+++ b/runtime/indent/mail.vim
@@ -0,0 +1,15 @@
+" Vim indent file
+" Language: Mail
+" Maintainer: Bram Moolenaar
+" Last Change: 2021 Sep 26
+
+if exists("b:did_indent")
+ finish
+endif
+let b:did_indent = 1
+
+" What works best is auto-indenting, disable other indenting.
+" For formatting see the ftplugin.
+setlocal autoindent nosmartindent nocindent indentexpr=
+
+let b:undo_indent = "setl ai< cin< inde< si<"