From f00d514b6b3d7ecda5891a97c9bb304c6ef93b00 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Wed, 20 Mar 2024 18:34:06 -0700 Subject: [PATCH] Make .latexmkrc use perl mode --- init.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 0a81368..58bb6f3 100644 --- a/init.el +++ b/init.el @@ -730,7 +730,9 @@ COMMAND and COMINT are like `compile'." ;; (La)TeX (use-package tex-mode - :hook (latex-mode . eglot-ensure)) + :hook (latex-mode . eglot-ensure) + :config + (add-to-list 'auto-mode-alist '("/\\.latexmkrc\\'" . perl-mode))) ;; blueprint (use-package blueprint-ts-mode