From 1b2c96639b9961ba5b81ddc7b9b32a7480f8c99e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Sat, 25 Jan 2025 22:36:49 +0100 Subject: [PATCH] Home Gen440 @ 2025-01-25-22:36 --- modules/home/doom/static/config.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/home/doom/static/config.el b/modules/home/doom/static/config.el index b83ae05..341240f 100644 --- a/modules/home/doom/static/config.el +++ b/modules/home/doom/static/config.el @@ -117,7 +117,9 @@ (require 'dap-cpptools) -(setq +latex-viewers '(pdf-tools)) +(after! latex + (add-hook! 'LaTeX-mode-hook 'lsp-mode) + (setq +latex-viewers '(pdf-tools))) (set-frame-parameter nil 'alpha-background 85) (add-to-list 'default-frame-alist '(alpha-background . 85))