aboutsummaryrefslogtreecommitdiff
path: root/modules/eww-config.el
diff options
context:
space:
mode:
Diffstat (limited to 'modules/eww-config.el')
-rw-r--r--modules/eww-config.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/eww-config.el b/modules/eww-config.el
index ff7ddc211..3b0e22dcd 100644
--- a/modules/eww-config.el
+++ b/modules/eww-config.el
@@ -73,6 +73,12 @@
;; --------------------------------- EWW Config --------------------------------
+(require 'system-lib)
+;; eww renders pages with shr, which paints with manual `face' properties. Left
+;; in `global-font-lock-mode' font-lock overwrites them and the page loses its
+;; colors, the same issue as elfeed-show and mu4e-view. Exclude eww-mode.
+(cj/exclude-from-global-font-lock 'eww-mode)
+
(use-package eww
:ensure nil ;; built-in
:bind