aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-24 11:29:57 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-24 11:29:57 +1200
commit35729ea64429e647fd87775e06e6a2ebb6cbdb1e (patch)
tree4c00a8b3aeeabee17ab1ee1f4f6dc2d20b61cddb
parentMore revision/expansion of blank/greeting strip (diff)
downloaddotfiles-35729ea64429e647fd87775e06e6a2ebb6cbdb1e.tar.gz
dotfiles-35729ea64429e647fd87775e06e6a2ebb6cbdb1e.zip
Don't strip tabs after angle quotes
Don't solve problems we don't have yet
-rw-r--r--vim/after/ftplugin/mail.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/after/ftplugin/mail.vim b/vim/after/ftplugin/mail.vim
index b14bb859..47c82bb6 100644
--- a/vim/after/ftplugin/mail.vim
+++ b/vim/after/ftplugin/mail.vim
@@ -45,7 +45,7 @@ for lnum in range(1, line('$'))
let line = getline(lnum)
" Get the leading quote string, if any; stop if there isn't one
- let quote = matchstr(line, '^[> \t]\+')
+ let quote = matchstr(line, '^[> ]\+')
if strlen(quote) == 0
continue
endif
@@ -54,7 +54,7 @@ for lnum in range(1, line('$'))
let quote = substitute(quote, '[^>]', '', 'g')
" Re-set the line
- let line = substitute(line, '^[> \t]\+', quote, '')
+ let line = substitute(line, '^[> ]\+', quote, '')
call setline(lnum, line)
endfor