mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-27 11:09:52 +00:00
Optimize debug segment.
This commit is contained in:
parent
d179593c7a
commit
e470ca8622
1 changed files with 7 additions and 6 deletions
|
@ -1924,13 +1924,14 @@ mouse-1: Toggle Debug on Quit"
|
||||||
(edebug (doom-modeline--debug-edebug))
|
(edebug (doom-modeline--debug-edebug))
|
||||||
(on-error (doom-modeline--debug-on-error))
|
(on-error (doom-modeline--debug-on-error))
|
||||||
(on-quit (doom-modeline--debug-on-quit))
|
(on-quit (doom-modeline--debug-on-quit))
|
||||||
(splitter (and (or dap edebug on-error on-quit) (doom-modeline-spc))))
|
(sep (doom-modeline-vspc))
|
||||||
(concat splitter
|
(seg-sep (and (or dap edebug on-error on-quit) (doom-modeline-spc))))
|
||||||
(when dap (concat dap (doom-modeline-vspc)))
|
(concat seg-sep
|
||||||
(when edebug (concat edebug (doom-modeline-vspc)))
|
(and dap (concat dap sep))
|
||||||
(when on-error (concat on-error (doom-modeline-vspc)))
|
(and edebug (concat edebug sep))
|
||||||
|
(and on-error (concat on-error sep))
|
||||||
on-quit
|
on-quit
|
||||||
splitter))))
|
seg-sep))))
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue