aboutsummaryrefslogtreecommitdiff
path: root/vim/after
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-22 19:01:00 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-22 19:01:00 +1200
commit9487591c0cfaf509318fd9c14d3d2209c641c6fd (patch)
tree9597a16b089563bcfc16ee95b4e5ab9038211d4c /vim/after
parenta1ab7dc01b88f19ee24f592d3d17e39ad3af13f0 (diff)
downloaddotfiles-9487591c0cfaf509318fd9c14d3d2209c641c6fd.tar.gz
dotfiles-9487591c0cfaf509318fd9c14d3d2209c641c6fd.zip
Don't squeeze blanks by default in mail filetype
Diffstat (limited to 'vim/after')
-rw-r--r--vim/after/ftplugin/mail.vim9
1 files changed, 0 insertions, 9 deletions
diff --git a/vim/after/ftplugin/mail.vim b/vim/after/ftplugin/mail.vim
index 53260a49..9f8fc608 100644
--- a/vim/after/ftplugin/mail.vim
+++ b/vim/after/ftplugin/mail.vim
@@ -62,17 +62,8 @@ let b:undo_ftplugin .= '|setlocal formatoptions<'
" Mail-specific handling for custom vim-squeeze-repeat-blanks plugin
if exists('loaded_squeeze_repeat_blanks')
-
- " Set the blank line pattern
let b:squeeze_repeat_blanks_blank = '^[ >]*$'
let b:undo_ftplugin .= '|unlet b:squeeze_repeat_blanks_blank'
-
- " If there is anything quoted in this message (i.e. it looks like a reply),
- " squeeze blanks, but don't report lines deleted
- if search('\m^>', 'cnw')
- silent SqueezeRepeatBlanks
- endif
-
endif
" Spellcheck documents we're actually editing (not just viewing)