summaryrefslogtreecommitdiff
path: root/script/core
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-17 04:50:21 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-17 04:50:21 +0800
commit66de37c58ee8cfb336b8f3d17f97d7f05f210f6d (patch)
tree5ef5e6615ba9623b260cdeea52413329af65859d /script/core
parenta988a48919dd752b04ec692d90e942ba21e9f62f (diff)
downloadlua-language-server-66de37c58ee8cfb336b8f3d17f97d7f05f210f6d.zip
cleanup
Diffstat (limited to 'script/core')
-rw-r--r--script/core/completion/completion.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/script/core/completion/completion.lua b/script/core/completion/completion.lua
index beff594c..70e093df 100644
--- a/script/core/completion/completion.lua
+++ b/script/core/completion/completion.lua
@@ -186,9 +186,6 @@ local function buildFunctionSnip(source, value, oop)
end
local function buildDetail(source)
- if source.type == 'dummy' then
- return
- end
local types = infer.getInfer(source):view()
local literals = infer.getInfer(source):viewLiterals()
if literals then
@@ -228,9 +225,6 @@ end
---@async
local function buildDesc(source)
- if source.type == 'dummy' then
- return
- end
local desc = markdown()
local hover = getHover.get(source)
desc:add('md', hover)