From 685ad2b574a4db5dd196ee6f64aa26687992f7b4 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 11 Dec 2019 13:01:10 +1300 Subject: Use spaces for mail indentation --- vim/after/indent/mail.vim | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 vim/after/indent/mail.vim (limited to 'vim') 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 -- cgit v1.2.3