docs: fix typos (#23917)

This commit is contained in:
Jonas Strittmatter
2023-06-10 03:37:05 +02:00
committed by GitHub
parent 5959b3c922
commit 7154f0c986
3 changed files with 5 additions and 5 deletions

View File

@@ -2697,8 +2697,8 @@ find({names}, {opts}) *vim.fs.find()*
directories
joinpath({...}) *vim.fs.joinpath()*
Concatenate directories and/or file into a single path with normalization
(e.g., `"foo/"` and `"bar"` get joined to `"foo/bar"`)
Concatenate directories and/or file paths into a single path with
normalization (e.g., `"foo/"` and `"bar"` get joined to `"foo/bar"`)
Parameters: ~
• {...} (string)

View File

@@ -72,7 +72,7 @@ function M.basename(file)
return file:match('[/\\]$') and '' or (file:match('[^\\/]*$'):gsub('\\', '/'))
end
--- Concatenate directories and/or file into a single path with normalization
--- Concatenate directories and/or file paths into a single path with normalization
--- (e.g., `"foo/"` and `"bar"` get joined to `"foo/bar"`)
---
---@param ... string