summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-17 18:34:56 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-17 18:34:56 +0800
commita3799601ff7eff899667674c56c635c6a4c71ebc (patch)
tree957d97836bb60e20892bf0605428da90d6848b30 /script
parent66de37c58ee8cfb336b8f3d17f97d7f05f210f6d (diff)
downloadlua-language-server-a3799601ff7eff899667674c56c635c6a4c71ebc.zip
fix #994
Diffstat (limited to 'script')
-rw-r--r--script/parser/luadoc.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua
index 5928ec1c..7c669d1f 100644
--- a/script/parser/luadoc.lua
+++ b/script/parser/luadoc.lua
@@ -1406,6 +1406,7 @@ local function bindDocsBetween(sources, binded, bindSources, start, finish)
or src.type == 'tableindex'
or src.type == 'setfield'
or src.type == 'setindex'
+ or src.type == 'setmethod'
or src.type == 'function' then
src.bindDocs = binded
bindSources[#bindSources+1] = src