From c7f048f38c0b4ddb1e322cdeb4eccb1da1cec91e Mon Sep 17 00:00:00 2001 From: StrawberryTea Date: Mon, 10 Jun 2024 00:24:37 -0500 Subject: [PATCH] fix: correct padding for lsp-modeline-progress (#4438) --- lsp-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lsp-mode.el b/lsp-mode.el index 9cc836a678..36ab06e5e0 100644 --- a/lsp-mode.el +++ b/lsp-mode.el @@ -2158,7 +2158,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 @@ -2201,7 +2201,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)))