summaryrefslogtreecommitdiff
path: root/script/core/hover
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-06-23 17:56:41 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-06-23 17:56:41 +0800
commitc1b86aa357818ff5b3f02f2970db6cf724a47793 (patch)
treec9253fe4495a34d9f87c0f09a867cb166fb78461 /script/core/hover
parent146a7c38ecad0918f5e4d1a132701064d0118260 (diff)
downloadlua-language-server-c1b86aa357818ff5b3f02f2970db6cf724a47793.zip
`doc.function` always `field`
Diffstat (limited to 'script/core/hover')
-rw-r--r--script/core/hover/label.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/hover/label.lua b/script/core/hover/label.lua
index d96b149c..71cbef43 100644
--- a/script/core/hover/label.lua
+++ b/script/core/hover/label.lua
@@ -45,7 +45,7 @@ local function asDocTypeName(source)
end
local function asValue(source, title)
- local name = buildName(source)
+ local name = buildName(source, false)
local type = infer.searchAndViewInfers(source)
local literal = infer.searchAndViewLiterals(source)
local cont