summaryrefslogtreecommitdiff
path: root/script/parser/luadoc.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-17 03:38:41 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-17 03:38:41 +0800
commit103d77b9789d0e9d420479dd7b746827ce79e3da (patch)
tree184b034c98a2e5ee3dda144c269a5af7e119b9fa /script/parser/luadoc.lua
parent3996e193acf42c0f42a3ed2ee65e5e674c9ddeb0 (diff)
downloadlua-language-server-103d77b9789d0e9d420479dd7b746827ce79e3da.zip
cleanup
Diffstat (limited to 'script/parser/luadoc.lua')
-rw-r--r--script/parser/luadoc.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua
index 5a2e1d09..5928ec1c 100644
--- a/script/parser/luadoc.lua
+++ b/script/parser/luadoc.lua
@@ -1313,7 +1313,8 @@ local function isNextLine(binded, doc)
return false
end
local lastDoc = binded[#binded]
- if lastDoc.type == 'doc.type' then
+ if lastDoc.type == 'doc.type'
+ or lastDoc.type == 'doc.module' then
return false
end
if lastDoc.type == 'doc.class'