diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2023-01-16 21:06:06 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2023-01-16 21:06:06 +0800 |
commit | 5aaecf51b9fccddf52ed3e4749757a03819fae61 (patch) | |
tree | 87ceb62c6eb926cb54d8ba794697f0d3ddd0b1e3 /meta/template/table.clear.lua | |
parent | a6798e6adb81da6b7f833bc39da0a6368178a090 (diff) | |
download | lua-language-server-5aaecf51b9fccddf52ed3e4749757a03819fae61.zip |
support `---@meta [name]`
once declared `name`, user can only require this file by declared name
meta file can not be required with name `_`
Diffstat (limited to 'meta/template/table.clear.lua')
-rw-r--r-- | meta/template/table.clear.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/template/table.clear.lua b/meta/template/table.clear.lua index dffed5fa..122e3651 100644 --- a/meta/template/table.clear.lua +++ b/meta/template/table.clear.lua @@ -1,9 +1,9 @@ ---#if not JIT then DISABLE() end ----@meta +---@meta table.clear ---@version JIT ---#DES 'table.clear' ---@param tab table local function clear(tab) end -return clear
\ No newline at end of file +return clear |