summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
author--get-all <fesil@foxmail.com>2022-03-28 13:56:08 +0800
committerfesily <fesil@foxmail.com>2022-03-28 13:56:08 +0800
commit301944d9cc57c1f3c3a79334a0e3c886fb8dceb0 (patch)
tree3556be10da749ae5ed25cff932726081493db84a /meta
parentf6b9b0e94764b7f950a4a0e7c41df12a75448edf (diff)
downloadlua-language-server-301944d9cc57c1f3c3a79334a0e3c886fb8dceb0.zip
update meta basic.lua
Document add standard library function [newproxy], although they do not appear in the document
Diffstat (limited to 'meta')
-rw-r--r--meta/template/basic.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/template/basic.lua b/meta/template/basic.lua
index b26d3959..527fb36f 100644
--- a/meta/template/basic.lua
+++ b/meta/template/basic.lua
@@ -127,6 +127,12 @@ function loadfile(filename, mode, env) end
function loadstring(text, chunkname) end
---@version 5.1
+---@param flag_or_proxy boolean | table
+---@return table
+---@nodiscard
+function newproxy(flag_or_proxy) end
+
+---@version 5.1
---#DES 'module'
---@param name string
function module(name, ...) end