summaryrefslogtreecommitdiff
path: root/script/core/diagnostics/unused-local.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-14 22:23:32 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-14 22:23:32 +0800
commit75509a89ecc69c683c015a97c9844746c81e6057 (patch)
tree9d2b0784a10fbda18784c3e939b6b65987569ff3 /script/core/diagnostics/unused-local.lua
parent7df9f807faf27e3faea33842ed599963e00cdb0b (diff)
downloadlua-language-server-75509a89ecc69c683c015a97c9844746c81e6057.zip
cheanup
Diffstat (limited to 'script/core/diagnostics/unused-local.lua')
-rw-r--r--script/core/diagnostics/unused-local.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/script/core/diagnostics/unused-local.lua b/script/core/diagnostics/unused-local.lua
index 7e7bd9d7..d12ceb2b 100644
--- a/script/core/diagnostics/unused-local.lua
+++ b/script/core/diagnostics/unused-local.lua
@@ -88,9 +88,6 @@ return function (uri, callback)
or name == ast.ENVMode then
return
end
- if source.tag == 'self' then
- return
- end
if isToBeClosed(source) then
return
end