0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

runtime(doc): clarify return type for findfile()/finddir()

closes: #17171

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2025-04-21 11:31:58 +02:00
parent 926e2af42e
commit b753d80e59

View File

@@ -3260,7 +3260,8 @@ finddir({name} [, {path} [, {count}]]) *finddir()*
Can also be used as a |method|: >
GetName()->finddir()
<
Return type: |String|
Return type: list<string> if {count} is negative, |String|
otherwise
findfile({name} [, {path} [, {count}]]) *findfile()*
@@ -3274,7 +3275,8 @@ findfile({name} [, {path} [, {count}]]) *findfile()*
Can also be used as a |method|: >
GetName()->findfile()
<
Return type: |String|
Return type: list<string> if {count} is negative, |String|
otherwise
flatten({list} [, {maxdepth}]) *flatten()*