diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-23 14:16:58 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-23 14:16:58 +1200 |
commit | d736f177350246ee2bf6201a622e236d36ba63eb (patch) | |
tree | 9ce082cd20b0ce0a919cf53bb135b4878151a94a /vim/after/ftplugin/mail.vim | |
parent | Prevent unneeded capture of group in greet regex (diff) | |
download | dotfiles-d736f177350246ee2bf6201a622e236d36ba63eb.tar.gz dotfiles-d736f177350246ee2bf6201a622e236d36ba63eb.zip |
Don't add a space to trailing quotes
Diffstat (limited to 'vim/after/ftplugin/mail.vim')
-rw-r--r-- | vim/after/ftplugin/mail.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/after/ftplugin/mail.vim b/vim/after/ftplugin/mail.vim index 2dcdeffa..b91c3542 100644 --- a/vim/after/ftplugin/mail.vim +++ b/vim/after/ftplugin/mail.vim @@ -32,8 +32,8 @@ for lnum in range(1, line('$')) break endif - " Normalise the quote with no intermediate and one trailing space - let quote = substitute(quote, '[^>]', '', 'g').' ' + " Normalise the quote with no spaces + let quote = substitute(quote, '[^>]', '', 'g') " Re-set the line let line = substitute(line, '^[> \t]\+', quote, '') |