aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/lua.txt4
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}