summaryrefslogtreecommitdiff
path: root/locale/en-us/script.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/script.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/script.lua')
-rw-r--r--locale/en-us/script.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua
index 6a822be8..a830ab19 100644
--- a/locale/en-us/script.lua
+++ b/locale/en-us/script.lua
@@ -114,6 +114,16 @@ DIAG_UNDEFINED_DOC_NAME =
'Undefined type or alias `{}`.'
DIAG_UNDEFINED_DOC_PARAM =
'Undefined param `{}`.'
+DIAG_MISSING_GLOBAL_DOC_COMMENT =
+'Missing comment for global function `{}`.'
+DIAG_MISSING_GLOBAL_DOC_PARAM =
+'Missing @param annotation for parameter `{}` in global function `{}`.'
+DIAG_MISSING_GLOBAL_DOC_RETURN =
+'Missing @return annotation at index `{}` in global function `{}`.'
+DIAG_INCOMPLETE_SIGNATURE_DOC_PARAM =
+'Incomplete signature. Missing @param annotation for parameter `{}` in function `{}`.'
+DIAG_INCOMPLETE_SIGNATURE_DOC_RETURN =
+'Incomplete signature. Missing @return annotation at index `{}` in function `{}`.'
DIAG_UNKNOWN_DIAG_CODE =
'Unknown diagnostic code `{}`.'
DIAG_CAST_LOCAL_TYPE =