build(clint): link to wiki when accessing list_T internals directly (#17876)

This commit is contained in:
dundargoc 2022-03-29 16:27:57 +02:00 committed by GitHub
parent ba257d74b1
commit 524f6294a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3187,8 +3187,8 @@ def CheckLanguage(filename, clean_lines, linenum, file_extension,
r'|li_(?:next|prev|tv))\b', line)
if match:
error(filename, linenum, 'runtime/deprecated', 4,
'Accessing list_T internals directly is prohibited '
'(hint: see commit d46e37cb4c71)')
'Accessing list_T internals directly is prohibited; '
'see https://github.com/neovim/neovim/wiki/List-management-in-Neovim')
# Check for suspicious usage of "if" like
# } if (a == b) {