emacs-lsp / lsp-ui

UI integrations for lsp-mode
https://emacs-lsp.github.io/lsp-ui
GNU General Public License v3.0
1.03k stars 141 forks source link

render doc string with extracted language for syntax highlighting #590

Closed waymondo closed 3 years ago

waymondo commented 3 years ago

if lsp-ui-doc is able to extract the language from the marked string, provide it to lsp--render-string so that it will determine the mode for that language and therefore provide syntax highlighting in the childframe

closes https://github.com/emacs-lsp/lsp-ui/issues/436