summaryrefslogtreecommitdiff
path: root/script/core/diagnostics/helper
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/diagnostics/helper')
-rw-r--r--script/core/diagnostics/helper/missing-doc-helper.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/core/diagnostics/helper/missing-doc-helper.lua b/script/core/diagnostics/helper/missing-doc-helper.lua
index 3b953b86..116173f2 100644
--- a/script/core/diagnostics/helper/missing-doc-helper.lua
+++ b/script/core/diagnostics/helper/missing-doc-helper.lua
@@ -51,7 +51,8 @@ local function checkFunction(source, callback, commentId, paramId, returnId)
if argCount > 0 then
for _, arg in ipairs(source.args) do
local argName = arg[1]
- if argName ~= 'self' then
+ if argName ~= 'self'
+ and argName ~= '_' then
if not findParam(source.bindDocs, argName) then
callback {
start = arg.start,