fix: don't claim to support inlayHint and codeLens refresh in lsp init
This avoids noise when running rust-analyser.
This commit is contained in:
parent
dc25a0ea14
commit
2c3e8179dc
1 changed files with 3 additions and 3 deletions
|
@ -936,7 +936,7 @@ fn send_lsp_init_request(self: *Self, lsp: LSP, project_path: []const u8, projec
|
||||||
.tagSupport = .{ .valueSet = .{1} },
|
.tagSupport = .{ .valueSet = .{1} },
|
||||||
.resolveSupport = .{ .properties = .{"location.range"} },
|
.resolveSupport = .{ .properties = .{"location.range"} },
|
||||||
},
|
},
|
||||||
.codeLens = .{ .refreshSupport = true },
|
.codeLens = .{ .refreshSupport = false },
|
||||||
.executeCommand = .{ .dynamicRegistration = true },
|
.executeCommand = .{ .dynamicRegistration = true },
|
||||||
// .didChangeConfiguration = .{ .dynamicRegistration = true },
|
// .didChangeConfiguration = .{ .dynamicRegistration = true },
|
||||||
.workspaceFolders = true,
|
.workspaceFolders = true,
|
||||||
|
@ -950,8 +950,8 @@ fn send_lsp_init_request(self: *Self, lsp: LSP, project_path: []const u8, projec
|
||||||
.willRename = true,
|
.willRename = true,
|
||||||
.willDelete = true,
|
.willDelete = true,
|
||||||
},
|
},
|
||||||
.inlineValue = .{ .refreshSupport = true },
|
.inlineValue = .{ .refreshSupport = false },
|
||||||
.inlayHint = .{ .refreshSupport = true },
|
.inlayHint = .{ .refreshSupport = false },
|
||||||
.diagnostics = .{ .refreshSupport = true },
|
.diagnostics = .{ .refreshSupport = true },
|
||||||
},
|
},
|
||||||
.textDocument = .{
|
.textDocument = .{
|
||||||
|
|
Loading…
Add table
Reference in a new issue