From 768cb45ec4a2e60df77c4065c341780feb0a3fdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?LAURENS=20J=C3=A9r=C3=B4me?= Date: Mon, 15 Jul 2024 16:33:38 +0200 Subject: [PATCH] Fix documentation of path.exists --- lua/pl/path.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/pl/path.lua b/lua/pl/path.lua index 7c5e2e65..e019a068 100644 --- a/lua/pl/path.lua +++ b/lua/pl/path.lua @@ -151,7 +151,7 @@ end --- does a path exist? -- @string P A file path --- @return the file path if it exists (either as file, directory, socket, etc), nil otherwise +-- @return the file path if it exists (either as file, directory, socket, etc), false otherwise function path.exists(P) assert_string(1,P) return attrib(P,'mode') ~= nil and P