From: martin f. krafft Date: Thu, 21 Feb 2019 01:30:22 +0000 (+1300) Subject: disable list/trailing-space highlighting for mail X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/32239ff7876da33ff296a1e4d280ae8f197d7151?ds=inline;hp=--cc disable list/trailing-space highlighting for mail --- 32239ff7876da33ff296a1e4d280ae8f197d7151 diff --git a/.vim/after/ftplugin/mail.vim b/.vim/after/ftplugin/mail.vim index 245ef06..2ecfa74 100644 --- a/.vim/after/ftplugin/mail.vim +++ b/.vim/after/ftplugin/mail.vim @@ -6,6 +6,15 @@ setlocal formatoptions+=w "setlocal spell +augroup tsperrorinsert + au! +augroup END +match none /\s*$/ +augroup listinsert + au! +augroup END +setlocal list + " Dynamically set format options, depending on where you are in a " mail, idea from Teemu Likonen: " http://groups.google.com/group/vim_use/msg/f59e5c1adc6be2b3