summaryrefslogtreecommitdiff
path: root/locale/en-us/setting.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-04-24 19:17:00 +0800
committerGitHub <noreply@github.com>2023-04-24 19:17:00 +0800
commitf5e44aa4fef54819efc26b7d9b3904b3354837f1 (patch)
treeefb89ac970d68a858200e81fe873349a0b28e542 /locale/en-us/setting.lua
parent8355006cc43a81fa10462a15bdd20d286bd34b9f (diff)
parent171703c12f571d15550aacc40a45cc6a312d8b1d (diff)
downloadlua-language-server-f5e44aa4fef54819efc26b7d9b3904b3354837f1.zip
Merge pull request #2078 from AlWoSp/pr/missing-global-doc
Check for missing @param and @return annotations
Diffstat (limited to 'locale/en-us/setting.lua')
-rw-r--r--locale/en-us/setting.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/locale/en-us/setting.lua b/locale/en-us/setting.lua
index 9f606cd7..a354ff0b 100644
--- a/locale/en-us/setting.lua
+++ b/locale/en-us/setting.lua
@@ -373,8 +373,12 @@ config.diagnostics['duplicate-doc-param'] =
'Enable diagnostics for a duplicated param annotation name.'
config.diagnostics['duplicate-set-field'] =
'Enable diagnostics for setting the same field in a class more than once.'
+config.diagnostics['incomplete-signature-doc'] =
+'Incomplete @param or @return annotations for functions.'
config.diagnostics['invisible'] =
'Enable diagnostics for accesses to fields which are invisible.'
+config.diagnostics['missing-global-doc'] =
+'Missing annotations for globals! Global functions must have a comment and annotations for all parameters and return values.'
config.diagnostics['missing-parameter'] =
'Enable diagnostics for function calls where the number of arguments is less than the number of annotated function parameters.'
config.diagnostics['missing-return'] =