diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-22 19:00:27 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-22 19:00:27 +0800 |
commit | 79f76ed6611701ca5994fe110eb09e9309499918 (patch) | |
tree | f470f3c16de51d92130c05e920b824e37b9993a6 /script/parser/luadoc.lua | |
parent | a212b62603f6087bc5a34c4aea45f7cdb0643a8b (diff) | |
download | lua-language-server-79f76ed6611701ca5994fe110eb09e9309499918.zip |
update
Diffstat (limited to 'script/parser/luadoc.lua')
-rw-r--r-- | script/parser/luadoc.lua | 3 |
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 |