summaryrefslogtreecommitdiff
path: root/script/core
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-08-06 16:42:14 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-08-06 16:42:14 +0800
commitd5ed27c9bf11908a2543db2aec9524f4ce69da61 (patch)
tree80c8b60d1607c363496fb95c357fc76e281c6ac1 /script/core
parent957f2610312545756f71bc0d08ca151e3efdb061 (diff)
downloadlua-language-server-d5ed27c9bf11908a2543db2aec9524f4ce69da61.zip
improve diag info
Diffstat (limited to 'script/core')
-rw-r--r--script/core/diagnostics/unknown-diag-code.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/diagnostics/unknown-diag-code.lua b/script/core/diagnostics/unknown-diag-code.lua
index 013a702b..9e492a29 100644
--- a/script/core/diagnostics/unknown-diag-code.lua
+++ b/script/core/diagnostics/unknown-diag-code.lua
@@ -21,7 +21,7 @@ return function (uri, callback)
callback {
start = nameUnit.start,
finish = nameUnit.finish,
- message = lang.script.DIAG_UNKNOWN_DIAG_CODE,
+ message = lang.script('DIAG_UNKNOWN_DIAG_CODE', code),
}
end
end