From 824b349542ed9776c72e7e9a19beb3469241b5d2 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sun, 27 Oct 2019 18:35:13 +0100 Subject: [PATCH] [FIX][VIM] Do not highlight trailing space in help --- vim/.vim/after/ftplugin/help.vim | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 vim/.vim/after/ftplugin/help.vim diff --git a/vim/.vim/after/ftplugin/help.vim b/vim/.vim/after/ftplugin/help.vim new file mode 100644 index 0000000..b4087f7 --- /dev/null +++ b/vim/.vim/after/ftplugin/help.vim @@ -0,0 +1,6 @@ +" Create the `b:undo_ftplugin` variable if it doesn't exist +call ftplugined#check_undo_ft() + +" Don't highlight trailing whitespace in help windows +let b:better_whitespace_enabled=0 +let b:undo_ftplugin.='|unlet b:better_whitespace_enabled'