From 706dd050f2ec570eb12398d42a18f6c4f2bd56df Mon Sep 17 00:00:00 2001 From: w0rp Date: Sat, 15 Apr 2017 13:35:54 +0100 Subject: Fix #257 in preparation for #427, standardise options with fallbacks, and make it so every value can be computed dynamically --- custom-checks | 2 ++ 1 file changed, 2 insertions(+) (limited to 'custom-checks') diff --git a/custom-checks b/custom-checks index ee7cdea6..440dafe5 100755 --- a/custom-checks +++ b/custom-checks @@ -71,5 +71,7 @@ check_errors ' \+$' 'Trailing whitespace' check_errors '^ * end\?i\? *$' 'Write endif, not en, end, or endi' check_errors '^ [^ ]' 'Use four spaces, not two spaces' check_errors $'\t' 'Use four spaces, not tabs' +# This check should prevent people from using a particular inconsistent name. +check_errors 'let g:ale_\w\+_\w\+_args =' 'Name your option g:ale___options instead' exit $RETURN_CODE -- cgit v1.2.3