From cb8a140141d6365f48e66dfaaaa8f9957f0dc832 Mon Sep 17 00:00:00 2001 From: w0rp Date: Mon, 11 Sep 2017 00:47:10 +0100 Subject: Require function! to be used instead of function --- test/script/custom-checks | 1 + 1 file changed, 1 insertion(+) (limited to 'test/script/custom-checks') diff --git a/test/script/custom-checks b/test/script/custom-checks index aad16c9c..3624ffd7 100755 --- a/test/script/custom-checks +++ b/test/script/custom-checks @@ -75,6 +75,7 @@ fi check_errors \ '^function.*) *$' \ 'Function without abort keyword (See :help except-compat)' +check_errors '^function[^!]' 'function without !' check_errors ' \+$' 'Trailing whitespace' check_errors '^ * end\?i\? *$' 'Write endif, not en, end, or endi' check_errors '^ [^ ]' 'Use four spaces, not two spaces' -- cgit v1.2.3