diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-11-18 17:37:29 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-11-18 17:37:29 +0800 |
commit | c2f380e1c138cdb29c1ed4ccbf160ccc70f426b7 (patch) | |
tree | f43029349d71d95f19902fa2ea03ce9cbc36b893 /meta/template/basic.lua | |
parent | 9fee07ae4d04b37bacf55fc4e2be9c80d1a6f58e (diff) | |
download | lua-language-server-c2f380e1c138cdb29c1ed4ccbf160ccc70f426b7.zip |
行内注释用单独的函数
Diffstat (limited to 'meta/template/basic.lua')
-rw-r--r-- | meta/template/basic.lua | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/meta/template/basic.lua b/meta/template/basic.lua index 50f8f0ed..46837dc3 100644 --- a/meta/template/basic.lua +++ b/meta/template/basic.lua @@ -12,14 +12,14 @@ arg = {} function assert(v, message) end ---@alias cgopt ----|>'"collect"' # ---#DES 'cgopt.collect' ----| '"stop"' # ---#DES 'cgopt.stop' ----| '"restart"' # ---#DES 'cgopt.restart' ----| '"count"' # ---#DES 'cgopt.count' ----| '"step"' # ---#DES 'cgopt.step' ----| '"incremental"' # ---#DES 'cgopt.incremental' ----| '"generational"' # ---#DES 'cgopt.generational' ----| '"isrunning"' # ---#DES 'cgopt.isrunning' +---|>'"collect"' # ---#DESENUM 'cgopt.collect' +---| '"stop"' # ---#DESENUM 'cgopt.stop' +---| '"restart"' # ---#DESENUM 'cgopt.restart' +---| '"count"' # ---#DESENUM 'cgopt.count' +---| '"step"' # ---#DESENUM 'cgopt.step' +---| '"incremental"' # ---#DESENUM 'cgopt.incremental' +---| '"generational"' # ---#DESENUM 'cgopt.generational' +---| '"isrunning"' # ---#DESENUM 'cgopt.isrunning' ---#DES 'collectgarbage' ---@param opt? cgopt @@ -61,9 +61,9 @@ function getmetatable(object) end function ipairs(t) end ---@alias loadmode ----| '"b"' # ---#DES 'loadmode.b' ----| '"t"' # ---#DES 'loadmode.t' ----|>'"bt"' # ---#DES 'loadmode.bt' +---| '"b"' # ---#DESENUM 'loadmode.b' +---| '"t"' # ---#DESENUM 'loadmode.t' +---|>'"bt"' # ---#DESENUM 'loadmode.bt' ---#DES 'load' ---@param chunk string|function |