summaryrefslogtreecommitdiff
path: root/server/src/core
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-04-28 21:23:33 +0800
committersumneko <sumneko@hotmail.com>2019-04-28 21:23:33 +0800
commit2793fe8003d10c5d7db54a63f3e6140ce305fb92 (patch)
tree5e460fa481c6c7649f439e70938d42b2354dce0c /server/src/core
parentef4df9c2b854808e2fa1280e383c5e4213d66a28 (diff)
downloadlua-language-server-2793fe8003d10c5d7db54a63f3e6140ce305fb92.zip
definition会找到定义者自己
Diffstat (limited to 'server/src/core')
-rw-r--r--server/src/core/definition.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/server/src/core/definition.lua b/server/src/core/definition.lua
index fd5b4758..4ed70bc4 100644
--- a/server/src/core/definition.lua
+++ b/server/src/core/definition.lua
@@ -207,11 +207,6 @@ local function makeList(source)
local list = {}
local mark = {}
return list, function (src)
- if Mode == 'definition' then
- if source == src then
- return
- end
- end
if mark[src] then
return
end