You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Was receiving errors like the following: Error during redisplay: (eval (doom-modeline-segment--vcs)) signaled (args-out-of-range " Git" 5 nil)
It appears that I'd customized the vc-display-status variable to nil, and this causes vc-mode to not include branch information. doom-modeline-update-vcs-text tries to substring the branch name out of vc-mode and ends up out of range.
The existing check against vc-mode (and buffer-file-name) is inadequate because vc-mode isn't nil, it's something like " Git".
Steps to reproduce the behavior:
On emacs 26.3:
eval (setq vc-display-status nil), then save or visit a file under git version control.
The text was updated successfully, but these errors were encountered:
Was receiving errors like the following:
Error during redisplay: (eval (doom-modeline-segment--vcs)) signaled (args-out-of-range " Git" 5 nil)
It appears that I'd customized the
vc-display-status
variable tonil
, and this causesvc-mode
to not include branch information.doom-modeline-update-vcs-text
tries to substring the branch name out ofvc-mode
and ends up out of range.The existing check against
vc-mode
(andbuffer-file-name
) is inadequate becausevc-mode
isn'tnil
, it's something like" Git"
.Steps to reproduce the behavior:
On emacs 26.3:
eval
(setq vc-display-status nil)
, then save or visit a file under git version control.The text was updated successfully, but these errors were encountered: