aboutsummaryrefslogtreecommitdiffstats
path: root/ftplugin/mail.vim
diff options
context:
space:
mode:
authorTeddy Wing2015-03-17 14:04:50 -0400
committerTeddy Wing2015-03-17 14:04:50 -0400
commitdc188e3be88275af26b6c034011706002e5c6ecf (patch)
tree1c5b4ae09b88a42a056d654f9efd316cbcea6b4a /ftplugin/mail.vim
parentc73c88e24c819e1ad92496723096ea5539b2c826 (diff)
downloaddotvim-dc188e3be88275af26b6c034011706002e5c6ecf.tar.bz2
ftplugin/mail.vim: Set nojoinspaces
Noticed when writing emails that when a line ends with a period, two spaces are added after it, meaning there are now two spaces between my sentences. Personally I hate this practise even though I understand why it makes sense when using fixed-width typefaces. Set nojoinspaces to make it stop happening.
Diffstat (limited to 'ftplugin/mail.vim')
-rw-r--r--ftplugin/mail.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/ftplugin/mail.vim b/ftplugin/mail.vim
index 93c5a18..fcff8b8 100644
--- a/ftplugin/mail.vim
+++ b/ftplugin/mail.vim
@@ -3,4 +3,7 @@
" Automatically format paragraphs and set format=flowed "w" option
setlocal formatoptions+=aw
+" Ensure that we don't end up with double spaces between sentences
+setlocal nojoinspaces
+
setlocal spell