diff options
author | Ivan Yonchovski <yyoncho@gmail.com> | 2020-07-03 07:47:13 +0300 |
---|---|---|
committer | Ivan Yonchovski <yyoncho@gmail.com> | 2020-07-03 07:48:10 +0300 |
commit | 7d5326430eb88a58e111cb22ffa42c7d131e5052 (patch) | |
tree | dcb1a8e70dad212f94c285c4606e50810014b7e5 | |
parent | 6b80c6c199929b0410c5270b62f6ff410b34bfca (diff) |
Fix regression in sideline
Fixes https://github.com/emacs-lsp/lsp-ui/issues/472
-rw-r--r-- | lsp-ui-sideline.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lsp-ui-sideline.el b/lsp-ui-sideline.el index c6dd3fa..75a9443 100644 --- a/lsp-ui-sideline.el +++ b/lsp-ui-sideline.el @@ -234,7 +234,7 @@ function signature)." If the string has a language, we fontify it with the function provided by `lsp-mode'. MARKED-STRING is the string returned by `lsp-ui-sideline--extract-info'." - (when (and marked-string (lsp-marked-string? marked-string)) + (when (and marked-string (or (lsp-marked-string? marked-string) (lsp-markup-content? marked-string))) (setq marked-string (lsp--render-element marked-string)) (add-face-text-property 0 (length marked-string) 'lsp-ui-sideline-symbol-info nil marked-string) (add-face-text-property 0 (length marked-string) 'default t marked-string) |