From a4eac0f60ea25a6bddae78fc86f0d6517ff577a3 Mon Sep 17 00:00:00 2001 From: Ingo Karkat Date: Sat, 11 Jul 2020 19:54:26 +0200 Subject: [PATCH] Cosmetics: Simplify dependencies, remove changelogs from ftplugin scripts --- ftplugin/diff_ShowTrailingWhitespace.vim | 6 +----- ftplugin/dosbatch_ShowTrailingWhitespace.vim | 7 +------ ftplugin/mail_ShowTrailingWhitespace.vim | 7 +------ ftplugin/markdown_ShowTrailingWhitespace.vim | 6 +----- ftplugin/unite_ShowTrailingWhitespace.vim | 6 +----- plugin/ShowTrailingWhitespace.vim | 4 +--- 6 files changed, 6 insertions(+), 30 deletions(-) diff --git a/ftplugin/diff_ShowTrailingWhitespace.vim b/ftplugin/diff_ShowTrailingWhitespace.vim index de56c32..31e7ab5 100644 --- a/ftplugin/diff_ShowTrailingWhitespace.vim +++ b/ftplugin/diff_ShowTrailingWhitespace.vim @@ -1,15 +1,11 @@ " diff_ShowTrailingWhitespace.vim: Whitespace exceptions for the "diff" filetype. " " DEPENDENCIES: -" - ShowTrailingWhitespace.vim autoload script " -" Copyright: (C) 2012 Ingo Karkat +" Copyright: (C) 2012-2020 Ingo Karkat " The VIM LICENSE applies to this script; see ':help copyright'. " " Maintainer: Ingo Karkat -" -" REVISION DATE REMARKS -" 1.00.001 02-Mar-2012 file creation " A single space at the beginning of a line can represent an empty context line. call ShowTrailingWhitespace#SetLocalExtraPattern('^\%( \@!\s\)$\|\%>1v') diff --git a/ftplugin/dosbatch_ShowTrailingWhitespace.vim b/ftplugin/dosbatch_ShowTrailingWhitespace.vim index 503bec0..987c2ff 100644 --- a/ftplugin/dosbatch_ShowTrailingWhitespace.vim +++ b/ftplugin/dosbatch_ShowTrailingWhitespace.vim @@ -1,16 +1,11 @@ " dosbatch_ShowTrailingWhitespace.vim: Whitespace exceptions for the "dosbatch" filetype. " " DEPENDENCIES: -" - ShowTrailingWhitespace.vim autoload script " -" Copyright: (C) 2013 Ingo Karkat +" Copyright: (C) 2013-2020 Ingo Karkat " The VIM LICENSE applies to this script; see ':help copyright'. " " Maintainer: Ingo Karkat -" -" REVISION DATE REMARKS -" 1.01.002 04-Dec-2013 Improve pattern. -" 1.01.001 03-Dec-2013 file creation " A user prompt (set /P query=Your choice? ) may end with a trailing space. call ShowTrailingWhitespace#SetLocalExtraPattern('\c\%(\ -" -" REVISION DATE REMARKS -" 1.00.002 16-Mar-2012 Refined pattern. -" 001 03-Mar-2012 file creation " - The email signature separator consists of dash-dash-space. " - Email headers from Outlook or the Thunderbird "External Editor" add-on diff --git a/ftplugin/markdown_ShowTrailingWhitespace.vim b/ftplugin/markdown_ShowTrailingWhitespace.vim index ec4f17e..2e647b1 100644 --- a/ftplugin/markdown_ShowTrailingWhitespace.vim +++ b/ftplugin/markdown_ShowTrailingWhitespace.vim @@ -1,15 +1,11 @@ " markdown_ShowTrailingWhitespace.vim: Whitespace exceptions for the "markdown" filetype. " " DEPENDENCIES: -" - ShowTrailingWhitespace.vim autoload script " -" Copyright: (C) 2013 Ingo Karkat +" Copyright: (C) 2013-2020 Ingo Karkat " The VIM LICENSE applies to this script; see ':help copyright'. " " Maintainer: Ingo Karkat -" -" REVISION DATE REMARKS -" 1.02.001 16-Dec-2013 file creation " End a line with two (or more) spaces to add a
linebreak. call ShowTrailingWhitespace#SetLocalExtraPattern('\%( \@ " Contributor: Fernando "Firef0x" G.P. da Silva -" -" REVISION DATE REMARKS -" 1.03.001 13-Mar-2015 file creation " The Unite plugin uses trailing whitespace in its scratch buffers to emulate a " menu with the full current line highlighted. diff --git a/plugin/ShowTrailingWhitespace.vim b/plugin/ShowTrailingWhitespace.vim index d0dca36..ad17a17 100644 --- a/plugin/ShowTrailingWhitespace.vim +++ b/plugin/ShowTrailingWhitespace.vim @@ -1,10 +1,8 @@ " ShowTrailingWhitespace.vim: Detect unwanted whitespace at the end of lines. " " DEPENDENCIES: -" - ShowTrailingWhitespace.vim autoload script. -" - ShowTrailingWhitespace/Filter.vim autoload script. " -" Copyright: (C) 2012-2018 Ingo Karkat +" Copyright: (C) 2012-2020 Ingo Karkat " The VIM LICENSE applies to this script; see ':help copyright'. " " Maintainer: Ingo Karkat