aboutsummaryrefslogtreecommitdiffstats
path: root/ftplugin/mail.vim
diff options
context:
space:
mode:
authorTeddy Wing2017-03-05 19:00:22 +0100
committerTeddy Wing2017-03-05 19:00:22 +0100
commit7366064eb87156e6d870a4f54163e4c0abfb175d (patch)
tree55ae6ff4012c6a600eef242b8a1db7bd2b2e72e3 /ftplugin/mail.vim
parent902e8ce4a1b88d7eb714f2f3c14d75e1493d81ed (diff)
downloaddotvim-7366064eb87156e6d870a4f54163e4c0abfb175d.tar.bz2
ftplugin/mail.vim: Don't start wrapped lines with '*'
When writing bulleted lists, don't start wrapped lines with '*'. Just wrote a mail message an noticed this was a problem. Copied my gitcommit.vim config to resolve this.
Diffstat (limited to 'ftplugin/mail.vim')
-rw-r--r--ftplugin/mail.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/ftplugin/mail.vim b/ftplugin/mail.vim
index 3e64f4a..80d125c 100644
--- a/ftplugin/mail.vim
+++ b/ftplugin/mail.vim
@@ -9,5 +9,9 @@ setlocal nojoinspaces
setlocal spell
+" Make bulleted lists with '*' not start wrapped lines with '*'
+setlocal comments-=mb:* comments+=fb:*
+
+
" Remove last two empty lines below signature
nnoremap <buffer> <leader>e m`Gdk``