summaryrefslogtreecommitdiff
path: root/meta/template/io.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-11-13 16:27:10 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-11-13 16:27:10 +0800
commit50c78c90cdfc188ab473bd12e17752d2101d5f05 (patch)
treec896112142e9ee44af55330b21d401e53f263c2a /meta/template/io.lua
parentc3e280a5bc556cb8ff87a6b0fc6f7a7c48292d4d (diff)
downloadlua-language-server-50c78c90cdfc188ab473bd12e17752d2101d5f05.zip
修正一些问题
Diffstat (limited to 'meta/template/io.lua')
-rw-r--r--meta/template/io.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/template/io.lua b/meta/template/io.lua
index c0d1689c..90354b64 100644
--- a/meta/template/io.lua
+++ b/meta/template/io.lua
@@ -35,6 +35,12 @@ function io.input(file) end
---@return fun():string|number
function io.lines(filename, ...) end
+---@param filename string
+---@param mode openmode
+---@return file?
+---@return string errmsg?
+function io.open(filename, mode) end
+
---@overload fun():file
---@param file string|file
function io.output(file) end