diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-03-07 17:39:19 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-03-07 17:39:19 +0800 |
commit | c8b15870150034ca44fc28d373e52991855c5c98 (patch) | |
tree | 8be5bfd216d93e7ebca8cab89c25085b776bd260 /server/src/core/hover | |
parent | fa58f9e95a55ac44b8dc3a489aadce607e1905da (diff) | |
download | lua-language-server-c8b15870150034ca44fc28d373e52991855c5c98.zip |
支持标签
Diffstat (limited to 'server/src/core/hover')
-rw-r--r-- | server/src/core/hover/function.lua | 3 | ||||
-rw-r--r-- | server/src/core/hover/lib_function.lua | 3 |
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 |