summaryrefslogtreecommitdiff
path: root/server/src/core/hover
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-03-07 17:39:19 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-03-07 17:39:19 +0800
commitc8b15870150034ca44fc28d373e52991855c5c98 (patch)
tree8be5bfd216d93e7ebca8cab89c25085b776bd260 /server/src/core/hover
parentfa58f9e95a55ac44b8dc3a489aadce607e1905da (diff)
downloadlua-language-server-c8b15870150034ca44fc28d373e52991855c5c98.zip
支持标签
Diffstat (limited to 'server/src/core/hover')
-rw-r--r--server/src/core/hover/function.lua3
-rw-r--r--server/src/core/hover/lib_function.lua3
2 files changed, 0 insertions, 6 deletions
diff --git a/server/src/core/hover/function.lua b/server/src/core/hover/function.lua
index 6be90b06..f8f7655e 100644
--- a/server/src/core/hover/function.lua
+++ b/server/src/core/hover/function.lua
@@ -21,9 +21,6 @@ local function buildValueArgs(func, object, select)
local start = 1
if object then
start = 2
- if select then
- select = select + 1
- end
end
local max
if func.source then
diff --git a/server/src/core/hover/lib_function.lua b/server/src/core/hover/lib_function.lua
index cb67c7f9..c3caea7a 100644
--- a/server/src/core/hover/lib_function.lua
+++ b/server/src/core/hover/lib_function.lua
@@ -6,9 +6,6 @@ local function buildLibArgs(lib, object, select)
local start
if object then
start = 2
- if select then
- select = select + 1
- end
else
start = 1
end