From 7366064eb87156e6d870a4f54163e4c0abfb175d Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 5 Mar 2017 19:00:22 +0100 Subject: 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. --- ftplugin/mail.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ftplugin') 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 e m`Gdk`` -- cgit v1.2.3