File tree 2 files changed +3
-3
lines changed
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."
262
262
(when contents
263
263
(cond
264
264
((stringp contents) contents)
265
- ((listp contents) ; ; MarkedString[]
265
+ ((sequencep contents) ; ; MarkedString[]
266
266
(mapconcat 'lsp-ui-doc--extract-marked-string
267
267
(lsp-ui-doc--filter-marked-string contents)
268
268
" \n\n "
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ function signature)."
200
200
(when contents
201
201
(cond
202
202
((stringp contents) contents)
203
- ((listp contents) ; ; MarkedString[]
203
+ ((sequencep contents) ; ; MarkedString[]
204
204
(--first (and (hash-table-p it)
205
205
(lsp-ui-sideline--get-renderer (gethash " language" it)))
206
206
contents))
@@ -350,7 +350,7 @@ CURRENT is non-nil when the point is on the symbol."
350
350
(defun lsp-ui-sideline--code-actions (actions )
351
351
" Show code ACTIONS."
352
352
(setq lsp-ui-sideline--code-actions actions)
353
- (dolist (action actions)
353
+ (seq-doseq (action actions)
354
354
(-let* ((title (->> (gethash " title" action)
355
355
(replace-regexp-in-string " [\n\t ]+" " " )
356
356
(concat lsp-ui-sideline-code-actions-prefix)))
You can’t perform that action at this time.
0 commit comments