Skip to content

Commit 6cb893d

Browse files
authored
🐛 fix hover lsp (#175)
1 parent 290cb50 commit 6cb893d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

client/src/extension.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ export function activate(context: vscode.ExtensionContext) {
143143
// Notify the server about file changes to '.clientrc files contained in the workspace
144144
fileEvents: vscode.workspace.createFileSystemWatcher("**/.clientrc"),
145145
},
146+
markdown: {
147+
isTrusted: true
148+
}
146149
};
147150

148151
// Create the language client and start the client.

server/src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ connection.onHover(async (request: HoverParams) => {
483483
// getting runtime import errors to remove this deprecation warning.
484484
const contents = {
485485
value: obj.hover,
486-
language: "nushell",
486+
kind: "markdown"
487487
};
488488

489489
if (obj.hover != "") {

0 commit comments

Comments
 (0)