File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ We don't extract the string that `lps-line' is already displaying."
262262 (when contents
263263 (cond
264264 ((stringp contents) contents)
265- ((listp contents) ; ; MarkedString[]
265+ ((sequencep contents) ; ; MarkedString[]
266266 (mapconcat 'lsp-ui-doc--extract-marked-string
267267 (lsp-ui-doc--filter-marked-string contents)
268268 " \n\n "
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ function signature)."
200200 (when contents
201201 (cond
202202 ((stringp contents) contents)
203- ((listp contents) ; ; MarkedString[]
203+ ((sequencep contents) ; ; MarkedString[]
204204 (--first (and (hash-table-p it)
205205 (lsp-ui-sideline--get-renderer (gethash " language" it)))
206206 contents))
@@ -350,7 +350,7 @@ CURRENT is non-nil when the point is on the symbol."
350350(defun lsp-ui-sideline--code-actions (actions )
351351 " Show code ACTIONS."
352352 (setq lsp-ui-sideline--code-actions actions)
353- (dolist (action actions)
353+ (seq-doseq (action actions)
354354 (-let* ((title (->> (gethash " title" action)
355355 (replace-regexp-in-string " [\n\t ]+" " " )
356356 (concat lsp-ui-sideline-code-actions-prefix)))
You can’t perform that action at this time.
0 commit comments