summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-03-13 15:51:33 +0800
committer最萌小汐 <sumneko@hotmail.com>2023-03-13 15:51:33 +0800
commit6d79a662a4d1f95a80d29af46eaae5ff9a659341 (patch)
tree70a727e181275c1cff878781ab54a3bfcc41642f
parentd512a42ba2abb0959b74ef3f9bfe05d042e47738 (diff)
downloadlua-language-server-6d79a662a4d1f95a80d29af46eaae5ff9a659341.zip
export from libraries
#1943
-rw-r--r--script/cli/doc.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/script/cli/doc.lua b/script/cli/doc.lua
index ae821527..0ceaff83 100644
--- a/script/cli/doc.lua
+++ b/script/cli/doc.lua
@@ -218,10 +218,6 @@ local function collectVars(global, results)
defines = {},
}
for _, set in ipairs(global:getSets(ws.rootUri)) do
- local uri = guide.getUri(set)
- if files.isLibrary(uri) then
- goto CONTINUE
- end
if set.type == 'setglobal'
or set.type == 'setfield'
or set.type == 'setmethod'
@@ -235,7 +231,6 @@ local function collectVars(global, results)
}
result.desc = result.desc or getDesc(set)
end
- ::CONTINUE::
end
if #result.defines == 0 then
return