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 forth-block-mode #527

Merged
merged 1 commit into from Jun 1, 2016
Merged

swiper.el (swiper-font-lock-exclude): Add forth-block-mode #527

merged 1 commit into from Jun 1, 2016

Conversation

@arkrost
Copy link

@arkrost arkrost commented Jun 1, 2016

Also added forth-block-mode to resolve #526 completely.

@arkrost arkrost changed the title Add forth-block-mode swiper.el (swiper-font-lock-exclude): Add forth-block-mode Jun 1, 2016
@arkrost
Copy link
Author

@arkrost arkrost commented Jun 1, 2016

Otherwise forth-mode could be processed like magit-mode.

(defun swiper-font-lock-ensure-p ()
  "Return non-nil if we should font-lock-ensure."
  (or (derived-mode-p 'magit-mode)
      (derived-mode-p 'forth-mode)
      (bound-and-true-p magit-blame-mode)
      (memq major-mode swiper-font-lock-exclude)))
@abo-abo abo-abo merged commit 4f57a3a into abo-abo:master Jun 1, 2016
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@abo-abo
Copy link
Owner

@abo-abo abo-abo commented Jun 1, 2016

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
Linked issues

Successfully merging this pull request may close these issues.

2 participants