Skip to content

Commit 7d53264

Browse files
committed
Fix regression in sideline
Fixes #472
1 parent 6b80c6c commit 7d53264

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lsp-ui-sideline.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ function signature)."
234234
If the string has a language, we fontify it with the function provided
235235
by `lsp-mode'.
236236
MARKED-STRING is the string returned by `lsp-ui-sideline--extract-info'."
237-
(when (and marked-string (lsp-marked-string? marked-string))
237+
(when (and marked-string (or (lsp-marked-string? marked-string) (lsp-markup-content? marked-string)))
238238
(setq marked-string (lsp--render-element marked-string))
239239
(add-face-text-property 0 (length marked-string) 'lsp-ui-sideline-symbol-info nil marked-string)
240240
(add-face-text-property 0 (length marked-string) 'default t marked-string)

0 commit comments

Comments
 (0)