From 27dcfa8d1463936d0b2514cd82eebe1910ab3bb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 6 Jul 2022 23:21:28 +0800 Subject: completion and diags for operator --- doc/zh-cn/config.md | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) (limited to 'doc/zh-cn') diff --git a/doc/zh-cn/config.md b/doc/zh-cn/config.md index 4f326649..a315b168 100644 --- a/doc/zh-cn/config.md +++ b/doc/zh-cn/config.md @@ -207,10 +207,10 @@ Array * ``"undefined-doc-param"`` * ``"param-type-mismatch"`` * ``"global-in-nil-env"`` -* ``"missing-parameter"`` +* ``"unused-vararg"`` * ``"miss-sep-in-table"`` * ``"unknown-cast-variable"`` -* ``"miss-loop-min"`` +* ``"unknown-operator"`` * ``"malformed-number"`` * ``"err-do-as-then"`` * ``"spell-check"`` @@ -223,6 +223,7 @@ Array * ``"duplicate-doc-alias"`` * ``"doc-field-no-class"`` * ``"no-visible-label"`` +* ``"miss-loop-min"`` * ``"miss-exp"`` * ``"miss-loop-max"`` * ``"miss-name"`` @@ -239,43 +240,43 @@ Array * ``"unused-label"`` * ``"action-after-return"`` * ``"unexpect-dots"`` -* ``"newline-call"`` +* ``"redundant-return-value"`` * ``"jump-local-scope"`` * ``"close-non-object"`` * ``"miss-field"`` * ``"count-down-loop"`` * ``"cast-type-mismatch"`` -* ``"duplicate-index"`` +* ``"newline-call"`` * ``"unexpect-symbol"`` * ``"block-after-else"`` * ``"unicode-name"`` * ``"miss-exponent"`` * ``"err-esc"`` -* ``"redundant-return-value"`` -* ``"unbalanced-assignments"`` +* ``"local-limit"`` +* ``"trailing-space"`` * ``"err-c-long-comment"`` +* ``"undefined-global"`` * ``"undefined-doc-name"`` * ``"ambiguity-1"`` -* ``"trailing-space"`` * ``"deprecated"`` * ``"codestyle-check"`` * ``"missing-return"`` -* ``"undefined-global"`` +* ``"missing-parameter"`` * ``"unused-function"`` -* ``"code-after-break"`` -* ``"assign-type-mismatch"`` -* ``"local-limit"`` * ``"cast-local-type"`` +* ``"assign-type-mismatch"`` +* ``"duplicate-set-field"`` +* ``"no-unknown"`` * ``"need-check-nil"`` * ``"keyword"`` * ``"unknown-diag-code"`` -* ``"unused-vararg"`` +* ``"return-type-mismatch"`` * ``"err-comment-prefix"`` * ``"lowercase-global"`` -* ``"return-type-mismatch"`` -* ``"duplicate-set-field"`` +* ``"unbalanced-assignments"`` * ``"redefined-local"`` -* ``"no-unknown"`` +* ``"code-after-break"`` +* ``"duplicate-index"`` * ``"duplicate-doc-param"`` * ``"index-in-func-name"`` * ``"miss-symbol"`` @@ -407,6 +408,7 @@ object * undefined-doc-param * unknown-cast-variable * unknown-diag-code + * unknown-operator */ "luadoc": "Fallback", /* @@ -524,6 +526,7 @@ object * undefined-doc-param * unknown-cast-variable * unknown-diag-code + * unknown-operator */ "luadoc": "Fallback", /* @@ -733,6 +736,7 @@ object "undefined-global": "Any", "unknown-cast-variable": "Any", "unknown-diag-code": "Any", + "unknown-operator": "Any", /* 未使用的函数 */ @@ -866,6 +870,7 @@ object "undefined-global": "Warning", "unknown-cast-variable": "Warning", "unknown-diag-code": "Warning", + "unknown-operator": "Warning", /* 未使用的函数 */ -- cgit v1.2.3