diff options
author | Lewis Russell <lewis6991@gmail.com> | 2024-03-06 10:03:55 +0000 |
---|---|---|
committer | Lewis Russell <me@lewisr.dev> | 2024-03-06 10:45:22 +0000 |
commit | ea44f74d84f87ce5aff2ef7797be986900bd74a6 (patch) | |
tree | e726c49d53d6a2a4b1be85f0df2fd4eccebc026e /runtime/doc | |
parent | d72c9d1d194fd050c3f5e95a6b5c319a8afa1a8f (diff) | |
download | rneovim-ea44f74d84f87ce5aff2ef7797be986900bd74a6.tar.gz rneovim-ea44f74d84f87ce5aff2ef7797be986900bd74a6.tar.bz2 rneovim-ea44f74d84f87ce5aff2ef7797be986900bd74a6.zip |
refactor(types): more fixes
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/lua.txt | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt index 42577cae2e..189c26bb7a 100644 --- a/runtime/doc/lua.txt +++ b/runtime/doc/lua.txt @@ -1433,9 +1433,6 @@ vim.env *vim.env* print(vim.env.TERM) < - Parameters: ~ - • {var} (`string`) - vim.go *vim.go* Get or set global |options|. Like `:setglobal`. Invalid key is an error. @@ -2927,16 +2924,16 @@ vim.fs.find({names}, {opts}) *vim.fs.find()* • path: full path of the current item The function should return `true` if the given item is considered a match. • {opts} (`table`) Optional keyword arguments: - • {path} (`string`) Path to begin searching from. If omitted, - the |current-directory| is used. - • {upward} (`boolean`, default: `false`) Search upward + • {path}? (`string`) Path to begin searching from. If + omitted, the |current-directory| is used. + • {upward}? (`boolean`, default: `false`) Search upward through parent directories. Otherwise, search through child directories (recursively). - • {stop} (`string`) Stop searching when this directory is + • {stop}? (`string`) Stop searching when this directory is reached. The directory itself is not searched. - • {type} (`string`) Find only items of the given type. If + • {type}? (`string`) Find only items of the given type. If omitted, all items that match {names} are included. - • {limit} (`number`, default: `1`) Stop the search after + • {limit}? (`number`, default: `1`) Stop the search after finding this many matches. Use `math.huge` to place no limit on the number of matches. |