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.29k stars 159 forks source link

[Bug] The new `doom-mode line-vcs-name` breaks my branch name #732

Closed sebastiaanspeck closed 2 months ago

sebastiaanspeck commented 2 months ago

Thank you for the bug report

Bug description

If you have a branch name that uses - in between, which is a common case, the part before the first - will only be shown, while the old manner did not have this bug and only removed the vc-backend-prefix

Steps to reproduce

Have a Git branch like feat/vcs-name, the displayed name will be feat/vsc.

Expected behavior

Having a Git branch like feat/vcs-name, the displayed name should be feat/vsc-name.

OS

Windows

Emacs Version

29

Emacs Configurations

No response

Error callstack

No response

Anything else

No response

sebastiaanspeck commented 2 months ago

I can confirm that it is fixed, thanks!

seagle0128 commented 2 months ago

Cheers!