summaryrefslogtreecommitdiff
path: root/server/src/method/textDocument/publishDiagnostics.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/method/textDocument/publishDiagnostics.lua')
-rw-r--r--server/src/method/textDocument/publishDiagnostics.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/src/method/textDocument/publishDiagnostics.lua b/server/src/method/textDocument/publishDiagnostics.lua
index 08910ea5..38f4c81b 100644
--- a/server/src/method/textDocument/publishDiagnostics.lua
+++ b/server/src/method/textDocument/publishDiagnostics.lua
@@ -44,10 +44,9 @@ end
local function createInfo(data, lines)
local diagnostic = {
- source = 'Lsp',
+ source = 'LSP',
range = getRange(data.start, data.finish, lines),
severity = DiagnosticSeverity[data.level],
- code = data.code,
message = data.message,
relatedInformation = data.relatedInformation,
}