From 01db3a44d87ebf0adca85e63412c1819f0387b74 Mon Sep 17 00:00:00 2001 From: StrawberryTea Date: Wed, 24 Apr 2024 17:24:47 -0500 Subject: [PATCH] fix: correct padding for lsp-modeline-progress --- lsp-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lsp-mode.el b/lsp-mode.el index 882e4eb29a..9351caf399 100644 --- a/lsp-mode.el +++ b/lsp-mode.el @@ -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 @@ -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)))