add vim and libuv runtime for luals, qualify libuv types

This commit is contained in:
Alexander Courtis
2023-11-27 08:32:51 +11:00
parent 3af30ee20e
commit 8393f7cc0c
5 changed files with 11 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ function M.str_find(haystack, needle)
end
---@param path string
---@return string|uv_fs_t
---@return string|uv.uv_fs_t
function M.read_file(path)
local fd = vim.loop.fs_open(path, "r", 438)
if not fd then