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
Closed

Losing colors on call to swiper #1416

dieggsy opened this issue Jan 22, 2018 · 6 comments

Comments

@dieggsy
Copy link
Contributor

@dieggsy dieggsy 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
Copy link
Owner

@abo-abo abo-abo 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
Copy link
Contributor Author

@dieggsy dieggsy commented Jan 22, 2018

@abo-abo thanks, that works.

@dieggsy dieggsy closed this Jan 22, 2018
@basil-conto
Copy link
Collaborator

@basil-conto basil-conto commented Jan 22, 2018

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

@dieggsy
Copy link
Contributor Author

@dieggsy dieggsy 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
Copy link
Owner

@abo-abo abo-abo commented Jan 22, 2018

Thanks.

@dieggsy
Copy link
Contributor Author

@dieggsy dieggsy 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
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants