summaryrefslogtreecommitdiff
path: root/script/parser/luadoc.lua
diff options
context:
space:
mode:
authorfesily <fesil@foxmail.com>2024-01-10 17:24:24 +0800
committerfesily <fesil@foxmail.com>2024-01-10 17:24:24 +0800
commita11c3928feaac59b460203ea02cbc48139d2acb4 (patch)
tree303ab537a96981614a2106f9c8771f8501555cde /script/parser/luadoc.lua
parentd023998316ff1ad32f9e247ae8746aabf4967ff9 (diff)
downloadlua-language-server-a11c3928feaac59b460203ea02cbc48139d2acb4.zip
fix error
Diffstat (limited to 'script/parser/luadoc.lua')
-rw-r--r--script/parser/luadoc.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua
index 8e7d334f..b835fd42 100644
--- a/script/parser/luadoc.lua
+++ b/script/parser/luadoc.lua
@@ -2137,9 +2137,9 @@ return {
doc.originalComment = comment
doc.virtual = true
ast.state.pluginDocs = pluginDocs
- return true
+ return doc
end
- return false
+ return nil
end,
luadoc = luadoc
}