diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-06-23 17:02:40 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-06-23 17:02:40 +0800 |
commit | f9157be94e64051e319d0f44e00995376fdb7598 (patch) | |
tree | f2a9f46d6d31d80dff6a415ab2d3a9826805da08 /script | |
parent | 5eb82d50202af355ecb5ce3edccb5ac77a4a6e85 (diff) | |
download | lua-language-server-f9157be94e64051e319d0f44e00995376fdb7598.zip |
fix #568
Diffstat (limited to 'script')
-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 335c8f24..3bb1b06e 100644 --- a/script/parser/luadoc.lua +++ b/script/parser/luadoc.lua @@ -1123,7 +1123,7 @@ local function bindDocsBetween(sources, binded, bindSources, start, finish) -- 从前往后进行绑定 for i = index, max do local src = sources[i] - if src then + if src and src.start >= start then if src.start > finish then break end |