diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/template/io.lua | 3 | ||||
-rw-r--r-- | meta/template/math.lua | 4 | ||||
-rw-r--r-- | meta/template/package.lua | 5 | ||||
-rw-r--r-- | meta/template/utf8.lua | 1 |
4 files changed, 13 insertions, 0 deletions
diff --git a/meta/template/io.lua b/meta/template/io.lua index adf64ebc..c159fc4c 100644 --- a/meta/template/io.lua +++ b/meta/template/io.lua @@ -2,8 +2,11 @@ ---#DES 'io' ---@class io* +---#DES 'io.stdin' ---@field stdin file* +---#DES 'io.stdout' ---@field stdout file* +---#DES 'io.stderr' ---@field stderr file* io = {} diff --git a/meta/template/math.lua b/meta/template/math.lua index a825d905..99d00555 100644 --- a/meta/template/math.lua +++ b/meta/template/math.lua @@ -2,11 +2,15 @@ ---@DES 'math' ---@class math* +---@DES 'math.huge' ---@field huge number ---#if VERSION >= 5.3 then +---@DES 'math.maxinteger' ---@field maxinteger integer +---@DES 'math.mininteger' ---@field mininteger integer ---#end +---@DES 'math.pi' ---@field pi number math = {} diff --git a/meta/template/package.lua b/meta/template/package.lua index 600a2f4c..62243607 100644 --- a/meta/template/package.lua +++ b/meta/template/package.lua @@ -15,10 +15,15 @@ function require(modname) end ---#DES 'package' ---@class package* +---@DES 'package.config' ---@field conifg string +---@DES 'package.cpath' ---@field cpath string +---@DES 'package.loaded' ---@field loaded table +---@DES 'package.path' ---@field path string +---@DES 'package.preload' ---@field preload table package = {} diff --git a/meta/template/utf8.lua b/meta/template/utf8.lua index f3619d68..1cc35361 100644 --- a/meta/template/utf8.lua +++ b/meta/template/utf8.lua @@ -3,6 +3,7 @@ ---@version >5.3 ---#DES 'utf8' ---@class utf8* +---#DES 'utf8.charpattern' ---@field charpattern string utf8 = {} |