summaryrefslogtreecommitdiff
path: root/script/parser/luadoc.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-29 17:43:45 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-29 17:43:45 +0800
commite5f07d0c9830afdfa1ce3b354a123212e5837526 (patch)
treeae9b64471b1d6139d43e5d0193ff3c056f9e3c3f /script/parser/luadoc.lua
parent1149fe63ddb1a3b6c9fac722e5dc3ab3ec61d74f (diff)
downloadlua-language-server-e5f07d0c9830afdfa1ce3b354a123212e5837526.zip
don't check `t.field = nil`
Diffstat (limited to 'script/parser/luadoc.lua')
-rw-r--r--script/parser/luadoc.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua
index c2019d8d..6c63e2f9 100644
--- a/script/parser/luadoc.lua
+++ b/script/parser/luadoc.lua
@@ -143,6 +143,7 @@ Symbol <- ({} {
---@field originalComment parser.object
---@field as? parser.object
---@field touch? integer
+---@field module? string
local function trim(str)
return str:match '^%s*(%S+)%s*$'