summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.emacs.d/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index cc01a13..26d0a0f 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -1394,7 +1394,8 @@ This function is intended for use with `ivy-ignore-buffers'."
:delight " typo"
:config
(typo-global-mode 1)
- :hook ((text-mode erc-mode) . typo-mode))
+ :hook (((text-mode erc-mode) . typo-mode)
+ (tex-mode . (lambda ()(typo-mode -1)))))
;; highlight TODOs in buffers
(use-package hl-todo