diff options
-rw-r--r-- | changelog.md | 1 | ||||
-rw-r--r-- | script/core/diagnostics/redundant-parameter.lua | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/changelog.md b/changelog.md index 4206c40a..e8fa5afb 100644 --- a/changelog.md +++ b/changelog.md @@ -23,6 +23,7 @@ local x = true local y = x--[[@as integer]] -- y is `integer` here ``` +* `CHG` diagnostic: no longer mark `redundant-parameter` as `Unnecessary` * `FIX` [#1051](https://github.com/sumneko/lua-language-server/issues/1051) * `FIX` [#1072](https://github.com/sumneko/lua-language-server/issues/1072) * `FIX` [#1077](https://github.com/sumneko/lua-language-server/issues/1077) diff --git a/script/core/diagnostics/redundant-parameter.lua b/script/core/diagnostics/redundant-parameter.lua index 4adf169e..564e0810 100644 --- a/script/core/diagnostics/redundant-parameter.lua +++ b/script/core/diagnostics/redundant-parameter.lua @@ -97,7 +97,6 @@ return function (uri, callback) callback { start = arg.start, finish = arg.finish, - tags = { define.DiagnosticTag.Unnecessary }, message = lang.script('DIAG_OVER_MAX_ARGS', funcArgs, callArgs) } end |