fix: disable markdown in LSP responses
Until we have a markdown renderer...
This commit is contained in:
parent
a0d9dede18
commit
502710cadb
1 changed files with 9 additions and 3 deletions
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue