diff options
author | vsrs <[email protected]> | 2020-06-03 12:34:11 +0100 |
---|---|---|
committer | vsrs <[email protected]> | 2020-06-05 13:00:28 +0100 |
commit | da7ec4b3398ffaf672a755bf57066e17ac42303a (patch) | |
tree | 2f8e1d37b13d16262587b6712a4612c6c4261355 /editors/code | |
parent | 7d0dd17b09240385333805637ea17992a8089cf2 (diff) |
Add hover actions LSP extension documentation.
Diffstat (limited to 'editors/code')
-rw-r--r-- | editors/code/src/client.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/client.ts b/editors/code/src/client.ts index 9df670283..f2094b5ce 100644 --- a/editors/code/src/client.ts +++ b/editors/code/src/client.ts | |||
@@ -66,7 +66,7 @@ export function createClient(serverPath: string, cwd: string): lc.LanguageClient | |||
66 | // Workaround to support command links (trusted vscode.MarkdownString) in hovers | 66 | // Workaround to support command links (trusted vscode.MarkdownString) in hovers |
67 | // https://github.com/microsoft/vscode/issues/33577 | 67 | // https://github.com/microsoft/vscode/issues/33577 |
68 | hover.contents = hover.contents.map(toTrusted); | 68 | hover.contents = hover.contents.map(toTrusted); |
69 | 69 | ||
70 | const actions = (<any>result).actions; | 70 | const actions = (<any>result).actions; |
71 | if (actions) { | 71 | if (actions) { |
72 | hover.contents.push(renderHoverActions(actions)); | 72 | hover.contents.push(renderHoverActions(actions)); |