Inherit foreground color from region face in evil-search-highlight-persist

Fits better material theme, I did not test other themes with it but
we can assume that the background and foreground combination for
region face is correct in most of the themes.
This commit is contained in:
syl20bnr 2015-05-20 15:13:57 -04:00
parent 0a71214d68
commit 2f69991510

View file

@ -976,7 +976,8 @@ Example: (evil-map visual \"<\" \"<gv\")"
(defun spacemacs/adaptive-evil-highlight-persist-face ()
(set-face-attribute 'evil-search-highlight-persist-highlight-face nil
:inherit 'region
:background nil))
:background nil
:foreground nil))
(spacemacs/adaptive-evil-highlight-persist-face))))
(defun spacemacs/init-evil-surround ()