diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-11-28 20:02:33 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-11-28 20:02:33 +0100 |
commit | d76ff15b5c3ea514430c2989edaf8e6d46124032 (patch) | |
tree | 5662a0c79620dfea567d0a55bd4b5b43d2043702 /.config/emacs/modules | |
parent | eb6b73e114fdac565795c24449e737eaf8825193 (diff) |
emacs: Set tab size for (la)tex-mode
Diffstat (limited to '.config/emacs/modules')
-rw-r--r-- | .config/emacs/modules/mm-editing.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.config/emacs/modules/mm-editing.el b/.config/emacs/modules/mm-editing.el index d3bd7eb..50a31c9 100644 --- a/.config/emacs/modules/mm-editing.el +++ b/.config/emacs/modules/mm-editing.el @@ -52,7 +52,8 @@ (go-mod-ts-mode . (:extras go-ts-mode-indent-offset)) (go-ts-mode . (:extras go-ts-mode-indent-offset)) (gsp-ts-mode . (:width 2 :extras gsp-ts-mode-indent-rules)) - (helpful-mode . (:width 8)) ; GNU code uses 8-column tabs + (helpful-mode . (:width 8)) ; GNU code uses 8-column tabs + (latex-mode . (:width 2)) (lisp-data-mode . (:spaces t)) (lisp-interaction-mode . (:spaces t)) (lisp-mode . (:spaces t)) @@ -62,6 +63,7 @@ (python-ts-mode . (:extras python-indent-offset)) (sgml-mode . (:extras sgml-basic-offset)) (sh-mode . (:extras sh-basic-offset)) + (tex-mode . (:width 2)) (vimscript-ts-mode . (:extras vimscript-ts-mode-indent-level))) "Alist of indentation settings. Each pair in this alist is of the form (MODE . SETTINGS) where MODE |