aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-12-11 13:01:10 +1300
committerTom Ryder <tom@sanctum.geek.nz>2019-12-11 13:01:10 +1300
commit685ad2b574a4db5dd196ee6f64aa26687992f7b4 (patch)
tree8a891450dafc8fa7f437dfadef7c545783356ded /vim
parentMerge branch 'release/v8.2.0' into develop (diff)
downloaddotfiles-685ad2b574a4db5dd196ee6f64aa26687992f7b4.tar.gz
dotfiles-685ad2b574a4db5dd196ee6f64aa26687992f7b4.zip
Use spaces for mail indentation
Diffstat (limited to 'vim')
-rw-r--r--vim/after/indent/mail.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/vim/after/indent/mail.vim b/vim/after/indent/mail.vim
new file mode 100644
index 00000000..ba6dfdeb
--- /dev/null
+++ b/vim/after/indent/mail.vim
@@ -0,0 +1,8 @@
+" Use four spaces for indentation
+setlocal expandtab
+setlocal shiftwidth=4
+let b:undo_ftplugin .= '|setlocal expandtab< shiftwidth<'
+if &l:softtabstop != -1
+ let &l:softtabstop = &l:shiftwidth
+ let b:undo_ftplugin .= '|setlocal softtabstop<'
+endif