summaryrefslogtreecommitdiff
path: root/script/parser/luadoc.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-22 19:00:27 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-22 19:00:27 +0800
commit79f76ed6611701ca5994fe110eb09e9309499918 (patch)
treef470f3c16de51d92130c05e920b824e37b9993a6 /script/parser/luadoc.lua
parenta212b62603f6087bc5a34c4aea45f7cdb0643a8b (diff)
downloadlua-language-server-79f76ed6611701ca5994fe110eb09e9309499918.zip
update
Diffstat (limited to 'script/parser/luadoc.lua')
-rw-r--r--script/parser/luadoc.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua
index 420e78cd..c4f40ac4 100644
--- a/script/parser/luadoc.lua
+++ b/script/parser/luadoc.lua
@@ -1661,6 +1661,9 @@ return function (state)
end
end
+ ast.docs.start = ast.start
+ ast.docs.finish = ast.finish
+
if #ast.docs == 0 then
return
end