seagle0128 / doom-modeline

A fancy and fast mode-line inspired by minimalism design.
https://seagle0128.github.io/doom-modeline/
GNU General Public License v3.0
1.28k stars 158 forks source link

[Bug] lsp-mode progress status not formatted correctly. #742

Closed brownts closed 2 weeks ago

brownts commented 2 weeks ago

Thank you for the bug report

Bug description

It appears the lsp-mode progress status is not displayed properly when using doom-modeline. When using doom-modeline, there is a missing percent sign and the percentage value and number of processed files are concatenated together instead of being spaced apart. I've included a snapshot showing the behavior with doom-modeline enabled and one with it disabled, to show the difference. The value "23544/2275 files" should be formatted as "23% 544/2275 files", like is shown when doom-modeline is not enabled.

Screenshot_2024-09-30_23-53-32

Screenshot_2024-09-30_23-54-48

Steps to reproduce

Start lsp-mode where the language server produces a progress report and noticed the formatting of the report.

Expected behavior

There should be a percentage sign in the modeline along with proper spacing between the percent value and the file complete/total indication.

OS

Linux

Emacs Version

29

Emacs Configurations

Vanilla

Error callstack

No response

Anything else

No response

brownts commented 2 weeks ago

I checked with the latest commit and this is now working as expected. Thanks!