File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -512,7 +512,7 @@ Argument HEIGHT is an actual image height in pixel."
512512 (t (error " Function image-size undefined. Use default icon " )))
513513 (lsp-ui-sideline--scale-lightbulb)))))))
514514
515- (defun lsp-ui-sideline--code-actions-image nil
515+ (defun lsp-ui-sideline--code-actions-image ( action )
516516 (when lsp-ui-sideline-actions-icon
517517 (with-demoted-errors " [lsp-ui-sideline]: Error with actions icon: %s"
518518 (concat
@@ -535,7 +535,7 @@ Argument HEIGHT is an actual image height in pixel."
535535 (replace-regexp-in-string " " " " )
536536 (concat (unless lsp-ui-sideline-actions-icon
537537 lsp-ui-sideline-code-actions-prefix))))
538- (image (lsp-ui-sideline--code-actions-image))
538+ (image (lsp-ui-sideline--code-actions-image action ))
539539 (margin (lsp-ui-sideline--margin-width))
540540 (keymap (let ((map (make-sparse-keymap )))
541541 (define-key map [down-mouse-1] (lambda () (interactive )
You can’t perform that action at this time.
0 commit comments