Skip to content

Commit

Permalink
fix: correct padding for lsp-modeline-progress
Browse files Browse the repository at this point in the history
  • Loading branch information
LemonBreezes committed May 13, 2024
1 parent f2b9ab5 commit c0df901
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lsp-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -2147,7 +2147,7 @@ PARAMS - the data sent from WORKSPACE."
(goto-char (lsp--position-to-point (lsp:range-start selection?))))
t))))

(defcustom lsp-progress-prefix " ⌛ "
(defcustom lsp-progress-prefix "⌛ "
"Progress prefix."
:group 'lsp-mode
:type 'string
Expand Down Expand Up @@ -2190,7 +2190,7 @@ PARAMS - the data sent from WORKSPACE."
"|"))))
(lsp-workspaces)))))
(unless (s-blank? progress-status)
(concat lsp-progress-prefix progress-status))))
(concat lsp-progress-prefix progress-status " "))))

(lsp-defun lsp-on-progress-modeline (workspace (&ProgressParams :token :value
(value &as &WorkDoneProgress :kind)))
Expand Down

0 comments on commit c0df901

Please sign in to comment.