summaryrefslogtreecommitdiffstats
path: root/runtime/doc/eval.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-09-09 21:55:11 +0200
committerBram Moolenaar <Bram@vim.org>2021-09-09 21:55:11 +0200
commit6c391a74fe90190796ca0b0c010112948a6e75d7 (patch)
tree6f313c0f99a43bba9d48cee72d6ba1ed7fc95e26 /runtime/doc/eval.txt
parentd176ca3dde47c11aae0376c31b7e1ba0939c8c6c (diff)
Update runtime files
Diffstat (limited to 'runtime/doc/eval.txt')
-rw-r--r--runtime/doc/eval.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index e1e9a1b472..562198e79c 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1,4 +1,4 @@
-*eval.txt* For Vim version 8.2. Last change: 2021 Aug 16
+*eval.txt* For Vim version 8.2. Last change: 2021 Sep 08
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -4864,14 +4864,17 @@ finddir({name} [, {path} [, {count}]]) *finddir()*
Find directory {name} in {path}. Supports both downwards and
upwards recursive directory searches. See |file-searching|
for the syntax of {path}.
+
Returns the path of the first found match. When the found
directory is below the current directory a relative path is
returned. Otherwise a full path is returned.
If {path} is omitted or empty then 'path' is used.
+
If the optional {count} is given, find {count}'s occurrence of
{name} in {path} instead of the first one.
When {count} is negative return all the matches in a |List|.
- This is quite similar to the ex-command |:find|.
+
+ This is quite similar to the ex-command `:find`.
{only available when compiled with the |+file_in_path|
feature}
@@ -5094,7 +5097,7 @@ fullcommand({name}) *fullcommand()*
The string argument {name} may start with a `:` and can
include a [range], these are skipped and not returned.
Returns an empty string if a command doesn't exist or if it's
- ambiguous (for user-defined functions).
+ ambiguous (for user-defined commands).
For example `fullcommand('s')`, `fullcommand('sub')`,
`fullcommand(':%substitute')` all return "substitute".