mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 11:28:22 +00:00
refactor: move definitions from typval.h
to typval_defs.h
(#20194)
Taken from #20187.
This commit is contained in:
@@ -2700,7 +2700,7 @@ def CheckLanguage(filename, clean_lines, linenum, error):
|
||||
if match:
|
||||
error(filename, linenum, 'runtime/printf', 4,
|
||||
'Use xstrlcat or snprintf instead of %s' % match.group(1))
|
||||
if not Search(r'eval/typval\.[ch]$', filename):
|
||||
if not Search(r'eval/typval\.[ch]$|eval/typval_defs\.h$', filename):
|
||||
match = Search(r'(?:\.|->)'
|
||||
r'(?:lv_(?:first|last|refcount|len|watch|idx(?:_item)?'
|
||||
r'|copylist|lock)'
|
||||
|
Reference in New Issue
Block a user