build-status
build-status copied to clipboard
How to connect this to doom-modeline
Hi there,
Apologies if this is a silly question, but does this package work with doom-modeline? How would I configure doom-modeline to add the build status?
Thanks JH
Hi, good question! Seems like doom-emacs is always trending on GitHub.
I've only seen it –never used it– but, from doom-modeline's docs, it sounds it like it should work out the box:
Can I add my mode-line segments myself? How to do that? How can I define my own mode-line? There are two methods. If the information is simple, just add to mode-line-misc-info or global-mode-string.
That's done here.
Questions:
- Does it work without doom-modeline? 😄
- The modeline string being used has to be marked safe. Maybe there's an autoloading issue ? Does this return
t
:(get 'build-status-mode-line-string 'risky-local-variable)
? - If it does work outside doom-modeline, what are the values of
global-mode-string
andmode-line-misc-info
when using it?