all repos — archive/dotfiles @ 867e97a7c1bae699c5d043be26b44aff45fc68a0

Superseded by nixfiles

Emacs: Disable typo-mode in yaml and jinja modes

Alan Pearce
commit

867e97a7c1bae699c5d043be26b44aff45fc68a0

parent

53bc9ff3cf20191ad7b07f482ffb6418404e7dfd

1 file changed, 5 insertions(+), 1 deletion(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -2313,7 +2313,11 @@ (use-package typo
:config (progn (typo-global-mode 1)) :init (progn - (add-hook 'text-mode-hook #'typo-mode))) + (add-hook 'text-mode-hook #'typo-mode) + (defun typo-mode-turn-off () + (typo-mode -1)) + (add-hook 'yaml-mode-hook #'turn-off-typo-mode) + (add-hook 'jinja2-mode-hook #'turn-off-typo-mode))) #+END_SRC ** avy