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

swiper.el (swiper-font-lock-exclude): Add nix-mode #879

Merged
merged 1 commit into from Feb 9, 2017

Conversation

eqyiel
Copy link
Contributor

@eqyiel eqyiel commented Feb 9, 2017

The first time swiper is invoked upon switching to a nix-mode buffer swiper--candidates will say End of buffer during the save-excursion. Invoking it a second time swiper--candidates will return normally.

If this is what swiper-font-lock-exclude is used to prevent, please consider this PR!

@eqyiel
Copy link
Contributor Author

eqyiel commented Feb 9, 2017

I may have jumped the gun a bit; this doesn't happen for all nix-mode buffers. One file that I see this behaviour for can be found here though: https://github.com/eqyiel/nixos-config/blob/master/config/localghost/configuration.nix

@abo-abo abo-abo merged commit d23d1fe into abo-abo:master Feb 9, 2017
@abo-abo
Copy link
Owner

abo-abo commented Feb 9, 2017

Thanks.

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

Successfully merging this pull request may close these issues.

None yet

2 participants