mirror of
https://github.com/vim/vim.git
synced 2025-07-24 10:45:12 -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:
parent
926e2af42e
commit
b753d80e59
@ -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()*
|
||||
|
Loading…
x
Reference in New Issue
Block a user