diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2022-11-26 00:52:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-26 07:52:30 +0800 |
commit | 9dfbbde240fc095b856d8e0e1c670b1912ec6640 (patch) | |
tree | c1322178caf5ad0395aaa2d8034349e305ede953 /runtime | |
parent | d38da27f1e1e4d8f2ff0af94b32aa531a9183255 (diff) | |
download | rneovim-9dfbbde240fc095b856d8e0e1c670b1912ec6640.tar.gz rneovim-9dfbbde240fc095b856d8e0e1c670b1912ec6640.tar.bz2 rneovim-9dfbbde240fc095b856d8e0e1c670b1912ec6640.zip |
docs: fix typos (#21168)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/lua.txt | 2 | ||||
-rw-r--r-- | runtime/lua/vim/fs.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt index 4055d93f6a..b506226697 100644 --- a/runtime/doc/lua.txt +++ b/runtime/doc/lua.txt @@ -2280,7 +2280,7 @@ find({names}, {opts}) *vim.fs.find()* searches are recursive and may search through many directories! If {stop} is non-nil, then the search stops when the directory given in {stop} is reached. The search terminates when {limit} (default 1) matches are found. - The search can be narrowed to find only files or or only directories by + The search can be narrowed to find only files or only directories by specifying {type} to be "file" or "directory", respectively. Parameters: ~ diff --git a/runtime/lua/vim/fs.lua b/runtime/lua/vim/fs.lua index c7c053852d..d128c15233 100644 --- a/runtime/lua/vim/fs.lua +++ b/runtime/lua/vim/fs.lua @@ -73,7 +73,7 @@ end --- searches are recursive and may search through many directories! If {stop} --- is non-nil, then the search stops when the directory given in {stop} is --- reached. The search terminates when {limit} (default 1) matches are found. ---- The search can be narrowed to find only files or or only directories by +--- The search can be narrowed to find only files or only directories by --- specifying {type} to be "file" or "directory", respectively. --- ---@param names (string|table|fun(name: string): boolean) Names of the files |