Add +doom-dashboard-mode to swiper-font-lock-exclude

It breaks the dashboard
This commit is contained in:
Henrik Lissner 2018-09-08 18:40:11 -04:00
parent 533355d7d5
commit 86d51dd056
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 6 additions and 3 deletions

View file

@ -188,6 +188,7 @@ be negative.")
;; `swiper-helm'
(after! swiper-helm
(setq swiper-helm-display-function
(lambda (buf &optional _resume) (pop-to-buffer buf)))
(add-to-list 'swiper-font-lock-exclude #'+doom-dashboard-mode nil #'eq))

View file

@ -110,6 +110,8 @@ immediately runs it on the current candidate (ending the ivy session)."
counsel-ag-base-command "ag -zS --nocolor --nogroup %s"
counsel-pt-base-command "pt -zS --nocolor --nogroup -e %s")
(add-to-list 'swiper-font-lock-exclude #'+doom-dashboard-mode nil #'eq)
;; Dim recentf entries that are not in the current project.
(ivy-set-display-transformer #'counsel-recentf #'+ivy-recentf-transformer)