diff options
Diffstat (limited to 'server/src/method')
-rw-r--r-- | server/src/method/textDocument/publishDiagnostics.lua | 4 |
1 files changed, 2 insertions, 2 deletions
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 |