summaryrefslogtreecommitdiff
path: root/locale/en-us/script.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-11-02 21:34:02 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-11-02 21:34:02 +0800
commit012572850ec31efbfe8cbcdb18be06750346e170 (patch)
tree5b0f1f9d325be3a1642325a5ef2b6e5f72ced639 /locale/en-us/script.lua
parent7a3b9a09737473efd80ba0539374e4c177bb27e7 (diff)
downloadlua-language-server-012572850ec31efbfe8cbcdb18be06750346e170.zip
update locale
Diffstat (limited to 'locale/en-us/script.lua')
-rw-r--r--locale/en-us/script.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua
index eb8c12ee..b81723b4 100644
--- a/locale/en-us/script.lua
+++ b/locale/en-us/script.lua
@@ -44,6 +44,7 @@ DIAG_DEPRECATED = 'Deprecated.'
DIAG_DIFFERENT_REQUIRES = 'The same file is required with different names.'
DIAG_REDUNDANT_RETURN = 'Redundant return.'
DIAG_AWAIT_IN_SYNC = 'Async function can only be called in async function.'
+DIAG_NOT_YIELDABLE = 'The {}th parameter of this function was not marked as yieldable, but an async function was passed in. (Use `---@param name async fun()` to mark as yieldable)'
DIAG_CIRCLE_DOC_CLASS = 'Circularly inherited classes.'
DIAG_DOC_FIELD_NO_CLASS = 'The field must be defined after the class.'