mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Merge #11288
11288: Support <code> blocks from Rust docs in vscode hover r=oandrew a=oandrew
Set `"supportHtml": true` to support rendering `<code>` blocks in hovers.
e.g. 1bd4fdc943/library/std/src/fs.rs (L109)
Co-authored-by: Andrew Onyshchuk <andryk.rv@gmail.com>
This commit is contained in:
commit
93036aa0e2
@ -155,6 +155,9 @@ export function createClient(serverPath: string, workspace: Workspace, extraEnv:
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
markdown: {
|
||||||
|
supportHtml: true,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user