From 32239ff7876da33ff296a1e4d280ae8f197d7151 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 21 Feb 2019 14:30:22 +1300 Subject: [PATCH 1/1] disable list/trailing-space highlighting for mail --- .vim/after/ftplugin/mail.vim | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- 2.39.5