summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCr4xy <Cr4xy@Live.de>2021-10-26 08:02:19 +0200
committerCr4xy <Cr4xy@Live.de>2021-10-26 08:02:19 +0200
commitb35837c9abe2f6b79abbd5e7a58830521267f8b5 (patch)
treec01a84aab3a281e5cdd3f1e067ce307eea0dca2e
parent2d931bc7481e0bfbac29a06fd1f317e4f05eb702 (diff)
downloadlua-language-server-b35837c9abe2f6b79abbd5e7a58830521267f8b5.zip
change comment in redundant-return
-rw-r--r--script/core/diagnostics/redundant-return.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/diagnostics/redundant-return.lua b/script/core/diagnostics/redundant-return.lua
index b76d8efa..486db6cd 100644
--- a/script/core/diagnostics/redundant-return.lua
+++ b/script/core/diagnostics/redundant-return.lua
@@ -3,7 +3,7 @@ local guide = require 'parser.guide'
local lang = require 'language'
local define = require 'proto.define'
--- reports 'return' or 'return nil' at the end of functions
+-- reports 'return' without any return values at the end of functions
return function (uri, callback)
local ast = files.getState(uri)
if not ast then