Require function! to be used instead of function

This commit is contained in:
w0rp committed 2017-09-11 00:47:10 +01:00
1 parent e19a81cb09
commit cb8a140141
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -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'