diff options
author | Christian Clason <c.clason@uni-graz.at> | 2023-05-20 17:30:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-20 17:30:48 +0200 |
commit | e3e6fadfd82861471c32fdcabe00bbef3de84563 (patch) | |
tree | e6c86d04a78e8a7b210181025d2dda4268669945 /runtime/doc/lua.txt | |
parent | 073035a030f5ef8ae9b9ca51552f887944c52eaa (diff) | |
download | rneovim-e3e6fadfd82861471c32fdcabe00bbef3de84563.tar.gz rneovim-e3e6fadfd82861471c32fdcabe00bbef3de84563.tar.bz2 rneovim-e3e6fadfd82861471c32fdcabe00bbef3de84563.zip |
feat(fs): expose join_paths as `vim.fs.joinpath` (#23685)
This is a small function but used a lot in some plugins.
Diffstat (limited to 'runtime/doc/lua.txt')
-rw-r--r-- | runtime/doc/lua.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt index 4eec4ee583..c6568b073d 100644 --- a/runtime/doc/lua.txt +++ b/runtime/doc/lua.txt @@ -2576,6 +2576,16 @@ find({names}, {opts}) *vim.fs.find()* (table) Normalized paths |vim.fs.normalize()| of all matching files or 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"`) + + Parameters: ~ + • {...} (string) + + Return: ~ + (string) + normalize({path}, {opts}) *vim.fs.normalize()* Normalize a path to a standard format. A tilde (~) character at the beginning of the path is expanded to the user's home directory and any |