diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-11-16 00:11:34 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-11-16 00:11:34 +0800 |
commit | 68db6ffa1943bfda316f3e955896f482f1ef109d (patch) | |
tree | c9c909fc0fc48327840937fff56a66c4bd144b20 /server-beta/src/core/diagnostics/redundant-parameter.lua | |
parent | 58bd9dd99cf6f927a318085255e4e18b533eab0d (diff) | |
download | lua-language-server-68db6ffa1943bfda316f3e955896f482f1ef109d.zip |
修改一些细节
Diffstat (limited to 'server-beta/src/core/diagnostics/redundant-parameter.lua')
-rw-r--r-- | server-beta/src/core/diagnostics/redundant-parameter.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server-beta/src/core/diagnostics/redundant-parameter.lua b/server-beta/src/core/diagnostics/redundant-parameter.lua index 43bb93ed..a60c8cdb 100644 --- a/server-beta/src/core/diagnostics/redundant-parameter.lua +++ b/server-beta/src/core/diagnostics/redundant-parameter.lua @@ -66,7 +66,7 @@ return function (uri, callback) local func = source.node local funcArgs - searcher.eachRef(func, function (info) + searcher.eachDef(func, function (info) if info.mode == 'value' then local src = info.source if src.type == 'function' then |