diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-09-27 19:45:17 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-09-27 19:45:17 +0800 |
commit | fcdce9a9660be08ddc5b94c60ce84d5970711a7f (patch) | |
tree | 4f139bcd32eae7f7064137885fd33f37b531f6a9 /script/parser/luadoc.lua | |
parent | 14f15056f63d615d2b59f0fcbea08800ae6b49c6 (diff) | |
download | lua-language-server-fcdce9a9660be08ddc5b94c60ce84d5970711a7f.zip |
fix
Diffstat (limited to 'script/parser/luadoc.lua')
-rw-r--r-- | script/parser/luadoc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua index 1645487d..02b23d16 100644 --- a/script/parser/luadoc.lua +++ b/script/parser/luadoc.lua @@ -1152,7 +1152,7 @@ local function buildLuaDoc(comment) if cstart and cstart < comment.finish then result.comment = { type = 'doc.tailcomment', - start = cstart + comment.start - 1, + start = cstart + comment.start, finish = comment.finish, text = trimTailComment(text:sub(cstart)), } |