diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-04 07:30:39 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-04 07:30:39 +1300 |
commit | 547fa233a55a63a45fdb516253222fa7bccd5f01 (patch) | |
tree | 6a9e387e3a1a31d10d9a3ca1c394fbe55a92b4e5 /vim | |
parent | Merge branch 'release/v2.8.0' into develop (diff) | |
download | dotfiles-547fa233a55a63a45fdb516253222fa7bccd5f01.tar.gz dotfiles-547fa233a55a63a45fdb516253222fa7bccd5f01.zip |
Remove line squeezing function for mail.vim
The mapping was removed in commit 44a75be, but not the autoloaded
function that the plugin was replacing.
Diffstat (limited to 'vim')
-rw-r--r-- | vim/autoload/mail.vim | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/vim/autoload/mail.vim b/vim/autoload/mail.vim index 967aac17..baff4bbf 100644 --- a/vim/autoload/mail.vim +++ b/vim/autoload/mail.vim @@ -65,23 +65,3 @@ function! mail#NewBlank(count, up, visual) abort endif endfunction - -" Quick map to strip multiple blank lines in the entire buffer; this comes up -" a lot when replying to stripped HTML mail. This should really be a command, -" but I'll do that Later(TM). -function! mail#ContractMultipleBlankLines() abort - let l:deletions = [] - let l:blank = 0 - for l:num in range(1, line('$')) - if getline(l:num) !~# '^[> ]*$' - let l:blank = 0 - elseif l:blank - let l:deletions += [l:num - 1] - else - let l:blank = 1 - endif - endfor - for l:num in reverse(l:deletions) - execute l:num . 'delete' - endfor -endfunction |