aboutsummaryrefslogtreecommitdiff
path: root/vim
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 /vim
parentd711ee84713221f20f3d1e6d50d4e240b24c94ef (diff)
downloaddotfiles-35729ea64429e647fd87775e06e6a2ebb6cbdb1e.tar.gz
Don't strip tabs after angle quotes
Don't solve problems we don't have yet
Diffstat (limited to 'vim')
-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