diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-29 10:54:21 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-29 10:54:21 +0800 |
commit | 55f143578193ac434b18d77bbbdacc468ff340c7 (patch) | |
tree | 37d849a2d93f1382d862103a63a34cb2bf25e8a6 /server/src/core/hover.lua | |
parent | 7d2e059198799acd874e8399bcb25920414e28da (diff) | |
download | lua-language-server-55f143578193ac434b18d77bbbdacc468ff340c7.zip |
大纲支持局部变量
Diffstat (limited to 'server/src/core/hover.lua')
-rw-r--r-- | server/src/core/hover.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/core/hover.lua b/server/src/core/hover.lua index ea22f1be..d0886e7c 100644 --- a/server/src/core/hover.lua +++ b/server/src/core/hover.lua @@ -263,7 +263,7 @@ local function unpackTable(result) return table.concat(lines, '\r\n') end -local function getValueHover(name, valueType, result, source, lib) +local function getValueHover(name, valueType, result, lib) if not lib then local class = findClass(result) if class then @@ -355,7 +355,7 @@ return function (result, source, lsp, select) hover = getFunctionHover(name, result.value, source.object, select) end else - hover = getValueHover(name, valueType, result, source, lib) + hover = getValueHover(name, valueType, result, lib) end if not hover then return |