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

Losing colors on call to swiper #1416

Closed
dieggsy opened this issue Jan 22, 2018 · 6 comments

Comments

@dieggsy
Copy link
Contributor

commented Jan 22, 2018

Not exactly sure what's going on here, but an example using helpful is:

  • M-x helpful-function RET swiper RET
  • M-x swiper

The original colors in the buffer are now lost. This also seems to happen to me with a custom eshell prompt theme, for example (which can be found here if needed)

@abo-abo

This comment has been minimized.

Copy link
Owner

commented Jan 22, 2018

Looks like you need to add the corresponding major-mode to swiper-font-lock-exclude. Let me know if it works.

@dieggsy

This comment has been minimized.

Copy link
Contributor Author

commented Jan 22, 2018

@abo-abo thanks, that works.

@dieggsy dieggsy closed this Jan 22, 2018

@basil-conto

This comment has been minimized.

Copy link
Collaborator

commented Jan 22, 2018

@dieggsy Why not open a PR to extend swiper-font-lock-exclude with this mode?

@dieggsy

This comment has been minimized.

Copy link
Contributor Author

commented Jan 22, 2018

@basil-conto been procrastinating on getting the copyright assignment a while and think i need it at this point. good idea though.

If anyone wants to incorporate them before I get to it, it's helpful-mode and and eshell-mode.

@dieggsy dieggsy reopened this Jan 22, 2018

@abo-abo abo-abo closed this in 92fd1aa Jan 22, 2018

@abo-abo

This comment has been minimized.

Copy link
Owner

commented Jan 22, 2018

Thanks.

@dieggsy

This comment has been minimized.

Copy link
Contributor Author

commented Jan 22, 2018

@abo-abo thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.