fix: disable markdown in LSP responses

Until we have a markdown renderer...
This commit is contained in:
CJ van den Berg 2024-12-18 21:46:36 +01:00
parent a0d9dede18
commit 502710cadb
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -1004,7 +1004,7 @@ fn send_lsp_init_request(self: *Self, lsp: LSP, project_path: []const u8, projec
.snippetSupport = true,
.commitCharactersSupport = true,
.documentationFormat = .{
"markdown",
// "markdown",
"plaintext",
},
.deprecatedSupport = true,
@ -1032,12 +1032,18 @@ fn send_lsp_init_request(self: *Self, lsp: LSP, project_path: []const u8, projec
},
.hover = .{
.dynamicRegistration = true,
.contentFormat = .{ "markdown", "plaintext" },
.contentFormat = .{
// "markdown",
"plaintext",
},
},
.signatureHelp = .{
.dynamicRegistration = true,
.signatureInformation = .{
.documentationFormat = .{ "markdown", "plaintext" },
.documentationFormat = .{
// "markdown",
"plaintext",
},
.parameterInformation = .{ .labelOffsetSupport = true },
.activeParameterSupport = true,
},