summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-07 18:17:30 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-07 18:17:30 +0800
commitf37431779e9975d0c71c196ac563ccecdb3f79ea (patch)
treea2a5add142c1f3f2fd9772e737e0ccd92be8e58a /server
parent52297aa8727a62f027f97a474992303fd1e26cde (diff)
downloadlua-language-server-f37431779e9975d0c71c196ac563ccecdb3f79ea.zip
加几个注释
Diffstat (limited to 'server')
-rw-r--r--server/src/matcher/diagnostics.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/matcher/diagnostics.lua b/server/src/matcher/diagnostics.lua
index 89a1ecfb..d53cb82a 100644
--- a/server/src/matcher/diagnostics.lua
+++ b/server/src/matcher/diagnostics.lua
@@ -174,7 +174,7 @@ return function (ast, results, lines, uri)
start = start,
finish = finish,
level = 'Warning',
- message = ('Redefined local `%s`'):format(key),
+ message = ('Redefined local `%s`'):format(key), -- LOCALE
related = related,
}
end)
@@ -184,7 +184,7 @@ return function (ast, results, lines, uri)
start = start,
finish = finish,
level = 'Warning',
- message = 'Parsed as function call for the previous line. It may be necessary to add a `;` before.',
+ message = 'Parsed as function call for the previous line. It may be necessary to add a `;` before.', -- LOCALE
}
end)
return datas