mirror of
https://github.com/inkarkat/vim-ShowTrailingWhitespace.git
synced 2026-05-26 11:24:17 +02:00
Cosmetics: Simplify dependencies, remove changelogs from ftplugin scripts
This commit is contained in:
@@ -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 <ingo@karkat.de>
|
||||
"
|
||||
" 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')
|
||||
|
||||
@@ -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 <ingo@karkat.de>
|
||||
"
|
||||
" 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\%(\<set\s/p\s.*\)\@<!')
|
||||
|
||||
@@ -1,16 +1,11 @@
|
||||
" mail_ShowTrailingWhitespace.vim: Whitespace exceptions for the "mail" 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 <ingo@karkat.de>
|
||||
"
|
||||
" 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
|
||||
|
||||
@@ -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 <ingo@karkat.de>
|
||||
"
|
||||
" REVISION DATE REMARKS
|
||||
" 1.02.001 16-Dec-2013 file creation
|
||||
|
||||
" End a line with two (or more) spaces to add a <br/> linebreak.
|
||||
call ShowTrailingWhitespace#SetLocalExtraPattern('\%( \@<! \|\t\s*\| \t\+\)$\&')
|
||||
|
||||
@@ -1,16 +1,12 @@
|
||||
" unite_ShowTrailingWhitespace.vim: Exempt the "unite" filetype.
|
||||
"
|
||||
" DEPENDENCIES:
|
||||
" - ShowTrailingWhitespace.vim autoload script
|
||||
"
|
||||
" Copyright: (C) 2015 Ingo Karkat
|
||||
" Copyright: (C) 2015-2020 Ingo Karkat
|
||||
" The VIM LICENSE applies to this script; see ':help copyright'.
|
||||
"
|
||||
" Maintainer: Ingo Karkat <ingo@karkat.de>
|
||||
" Contributor: Fernando "Firef0x" G.P. da Silva <firefgx { aT ) gmail [ d0t } com>
|
||||
"
|
||||
" 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.
|
||||
|
||||
@@ -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 <ingo@karkat.de>
|
||||
|
||||
Reference in New Issue
Block a user