From 948138c24288aec89f2dac53b45f3b34e87a7aff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 8 Jan 2019 17:16:11 +0800 Subject: =?UTF-8?q?=E5=8C=BA=E5=88=86=E4=B8=80=E4=B8=8B=E8=AF=8A=E6=96=AD?= =?UTF-8?q?=E5=92=8C=E8=AF=AD=E6=B3=95=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/method/textDocument/publishDiagnostics.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/src/method/textDocument/publishDiagnostics.lua') diff --git a/server/src/method/textDocument/publishDiagnostics.lua b/server/src/method/textDocument/publishDiagnostics.lua index c0d86845..b45f38a0 100644 --- a/server/src/method/textDocument/publishDiagnostics.lua +++ b/server/src/method/textDocument/publishDiagnostics.lua @@ -45,7 +45,7 @@ end local function createInfo(data, lines) local diagnostic = { - source = 'Lua Language Server', + source = 'Diagnostics', range = getRange(data.start, data.finish, lines), severity = data.level, message = data.message, @@ -78,7 +78,7 @@ end local function buildError(err, lines) local diagnostic = { - source = 'Lua Language Server', + source = 'Syntax Check', message = lang.script('PARSER_'..err.type, err.info) } if err.level == 'error' then -- cgit v1.2.3