aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-23 11:21:43 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-23 11:21:43 +1200
commit60703c3aa0b624cbc2b799d679a11118dca18e7d (patch)
tree357a1ff211bdcfbdb15a5ec918f0dcc288873678 /vim
parent68c22abd9f16ed9baf9673a2e125b8c293633cdc (diff)
downloaddotfiles-60703c3aa0b624cbc2b799d679a11118dca18e7d.tar.gz
Strip trailing blanks after greeting
Diffstat (limited to 'vim')
-rw-r--r--vim/after/ftplugin/mail.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/after/ftplugin/mail.vim b/vim/after/ftplugin/mail.vim
index c9cd6555..81e2e560 100644
--- a/vim/after/ftplugin/mail.vim
+++ b/vim/after/ftplugin/mail.vim
@@ -10,7 +10,7 @@ if line('.') == 1 && col('.') == 1
" we can just strip out; delete any following lines too, if they're blank
if getline('.') =~? '^>\s*\%(<hello\|hey\+\|hi\)\(\s\+\S\+\)\=[,;]*\s*$'
delete
- while getline('.') =~# '^>$'
+ while getline('.') =~# '^>\s*$'
delete
endwhile
endif