diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-12-11 13:01:10 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-12-11 13:01:10 +1300 |
commit | 685ad2b574a4db5dd196ee6f64aa26687992f7b4 (patch) | |
tree | 8a891450dafc8fa7f437dfadef7c545783356ded /vim | |
parent | Merge branch 'release/v8.2.0' into develop (diff) | |
download | dotfiles-685ad2b574a4db5dd196ee6f64aa26687992f7b4.tar.gz dotfiles-685ad2b574a4db5dd196ee6f64aa26687992f7b4.zip |
Use spaces for mail indentation
Diffstat (limited to 'vim')
-rw-r--r-- | vim/after/indent/mail.vim | 8 |
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 |