aboutsummaryrefslogtreecommitdiff
path: root/src/clint.py
diff options
context:
space:
mode:
authorFamiu Haque <famiuhaque@protonmail.com>2022-09-14 11:01:39 +0600
committerGitHub <noreply@github.com>2022-09-14 13:01:39 +0800
commitbd4eca11464dc65d40a58444aa67bd0f3553ae0c (patch)
treec05b4e25716819ffdf3b0f6a13119e8e33f03bfa /src/clint.py
parent1e5daed67693f88d3ad515cf9e2d2f6d29c48a08 (diff)
downloadrneovim-bd4eca11464dc65d40a58444aa67bd0f3553ae0c.tar.gz
rneovim-bd4eca11464dc65d40a58444aa67bd0f3553ae0c.tar.bz2
rneovim-bd4eca11464dc65d40a58444aa67bd0f3553ae0c.zip
refactor: move definitions from `typval.h` to `typval_defs.h` (#20194)
Taken from #20187.
Diffstat (limited to 'src/clint.py')
-rwxr-xr-xsrc/clint.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clint.py b/src/clint.py
index 0556f53372..c4ddbf706e 100755
--- a/src/clint.py
+++ b/src/clint.py
@@ -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)'