summaryrefslogtreecommitdiff
path: root/script/parser/luadoc.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-09-22 11:00:40 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-09-22 11:00:40 +0800
commit621ee2b3e79dd452ddb3b96cf63a2bc2792b9254 (patch)
tree06f703540382f37b7e274d9e34f615ea33de44d5 /script/parser/luadoc.lua
parentbae4fa96a08158668d8b005f7885a774ad1c98fb (diff)
downloadlua-language-server-621ee2b3e79dd452ddb3b96cf63a2bc2792b9254.zip
fix
Diffstat (limited to 'script/parser/luadoc.lua')
-rw-r--r--script/parser/luadoc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua
index 5cf32a54..0463d7d2 100644
--- a/script/parser/luadoc.lua
+++ b/script/parser/luadoc.lua
@@ -646,7 +646,7 @@ function parseType(parent)
end
local nextCommRow = guide.rowColOf(nextComm.start)
local currentRow = row + i + 1
- if currentRow > nextCommRow then
+ if currentRow < nextCommRow then
return false
end
if nextComm.text:sub(1, 2) == '-@' then