diff options
| author | altermo <107814000+altermo@users.noreply.github.com> | 2024-03-06 17:18:00 +0100 |
|---|---|---|
| committer | Lewis Russell <me@lewisr.dev> | 2024-03-06 21:56:47 +0000 |
| commit | ae5095cac9b233cfb6785534de6f084c70dc6424 (patch) | |
| tree | 046ba9e14005d66d2ff7c48c53212403dd1d78fe /runtime/doc | |
| parent | 0101bdaa1ad8b09ebd5ef5551faf077f39be238c (diff) | |
| download | rneovim-ae5095cac9b233cfb6785534de6f084c70dc6424.tar.gz rneovim-ae5095cac9b233cfb6785534de6f084c70dc6424.tar.bz2 rneovim-ae5095cac9b233cfb6785534de6f084c70dc6424.zip | |
fix(fs): use generics for better typing
Diffstat (limited to 'runtime/doc')
| -rw-r--r-- | runtime/doc/lua.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt index d187caad04..4f8c685a41 100644 --- a/runtime/doc/lua.txt +++ b/runtime/doc/lua.txt @@ -2848,7 +2848,7 @@ vim.fs.basename({file}) *vim.fs.basename()* Return the basename of the given path Parameters: ~ - • {file} (`string`) Path + • {file} (`string?`) Path Return: ~ (`string?`) Basename of {file} @@ -2876,7 +2876,7 @@ vim.fs.dirname({file}) *vim.fs.dirname()* Return the parent directory of the given path Parameters: ~ - • {file} (`string`) Path + • {file} (`string?`) Path Return: ~ (`string?`) Parent directory of {file} |