Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to connect this to doom-modeline #10

Open
johnhamelink opened this issue Jul 28, 2020 · 1 comment
Open

How to connect this to doom-modeline #10

johnhamelink opened this issue Jul 28, 2020 · 1 comment

Comments

@johnhamelink
Copy link

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

@sshaw
Copy link
Owner

sshaw commented Aug 1, 2020

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:

  1. Does it work without doom-modeline? 😄
  2. 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)?
  3. If it does work outside doom-modeline, what are the values of global-mode-string and mode-line-misc-info when using it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants