From bd063ca02bff73bd6642698830f669fd327e3cb6 Mon Sep 17 00:00:00 2001 From: coolneng Date: Mon, 12 Jun 2023 14:04:56 +0200 Subject: [PATCH] Revert "Disable PDF recoloring by default" This reverts commit 518413d20d879e5b84c3f6093be3e5fd48e8f9c9. --- +ui.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/+ui.el b/+ui.el index 0274fe6..198a9ce 100644 --- a/+ui.el +++ b/+ui.el @@ -8,7 +8,8 @@ (setq magit-display-buffer-function #'magit-display-buffer-fullframe-status-v1)) ;; Match pdf-tools colors to the theme and fit to page by default (after! pdf-tools - (setq pdf-view-midnight-colors '("#BBC2CF" . "#282C34"))) + (setq pdf-view-midnight-colors '("#BBC2CF" . "#282C34")) + (add-hook 'pdf-tools-enabled-hook 'pdf-view-midnight-minor-mode)) ;; Customize modeline (setq doom-modeline-major-mode-icon t doom-modeline-buffer-encoding nil)