diff options
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -834,11 +834,15 @@ | |||
834 | (use-package pdf-tools | 834 | (use-package pdf-tools |
835 | :straight t | 835 | :straight t |
836 | :config | 836 | :config |
837 | (add-to-list 'auto-mode-alist '("\\.pdf\\'" . pdf-view-mode)) | ||
837 | (setq pdf-view-use-imagemagick t | 838 | (setq pdf-view-use-imagemagick t |
838 | pdf-view-use-scaling nil | 839 | pdf-view-use-scaling nil |
839 | doc-view-resolution 300 | 840 | doc-view-resolution 300 |
840 | pdf-view-midnight-colors | 841 | pdf-view-midnight-colors |
841 | `(,mm/pdf-view-midnight-foreground . ,mm/pdf-view-midnight-background))) | 842 | `(,mm/pdf-view-midnight-foreground . ,mm/pdf-view-midnight-background)) |
843 | :hook (pdf-view-mode . pdf-view-themed-minor-mode)) | ||
844 | |||
845 | |||
842 | 846 | ||
843 | 847 | ||
844 | 848 | ||