Skip to content

Commit

Permalink
Merge pull request #47 from anuragm/master
Browse files Browse the repository at this point in the history
Fix broken search highlights
  • Loading branch information
cpaulik authored Jun 20, 2020
2 parents b66838d + b841159 commit 2710e61
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions material-light-theme.el
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,7 @@
;; Search
`(match ((,class (:foreground ,background :background ,green :inverse-video nil))))
`(isearch ((,class (:foreground ,background :background ,green))))
`(isearch-lazy-highlight-face ((,class (:foreground ,background :background ,green :inverse-video nil))))
`(lazy-highlight-face ((,class (:foreground ,background :background ,green :inverse-video nil))))
`(lazy-highlight ((,class (:foreground ,background :background ,green :inverse-video nil))))
`(isearch-fail ((,class (:background ,background :inherit font-lock-warning-face :inverse-video t))))

;; Evil
Expand All @@ -196,7 +195,7 @@

;; Anzu
`(anzu-mode-line ((,class (:foreground ,orange))))
`(anzu-replace-highlight ((,class (:inherit isearch-lazy-highlight-face))))
`(anzu-replace-highlight ((,class (:inherit lazy-highlight))))
`(anzu-replace-to ((,class (:inherit isearch))))

;; IDO
Expand Down
5 changes: 2 additions & 3 deletions material-theme.el
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,7 @@
;; Search
`(match ((,class (:foreground ,background :background ,green :inverse-video nil))))
`(isearch ((,class (:foreground ,foreground :background ,green))))
`(isearch-lazy-highlight-face ((,class (:foreground ,background :background ,green :inverse-video nil))))
`(lazy-highlight-face ((,class (:foreground ,background :background ,green :inverse-video nil))))
`(lazy-highlight ((,class (:foreground ,background :background ,green :inverse-video nil))))
`(isearch-fail ((,class (:background ,background :inherit font-lock-warning-face :inverse-video t))))

;; Evil
Expand All @@ -193,7 +192,7 @@

;; Anzu
`(anzu-mode-line ((,class (:foreground ,orange))))
`(anzu-replace-highlight ((,class (:inherit isearch-lazy-highlight-face))))
`(anzu-replace-highlight ((,class (:inherit lazy-highlight))))
`(anzu-replace-to ((,class (:inherit isearch))))

;; IDO
Expand Down

0 comments on commit 2710e61

Please sign in to comment.