diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-09-09 15:33:46 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-09-09 15:33:46 +0200 |
commit | 6c7c870c8542918da832de1a580a59943f6b75e1 (patch) | |
tree | 44ba8a6e8220edcb86c70003d7d6e8ec87f5b5f1 /.config/emacs/init.el | |
parent | 9e78cd3ed48373106cd8a40709b0001480025954 (diff) |
emacs: Update indentation settings
Diffstat (limited to '.config/emacs/init.el')
-rw-r--r-- | .config/emacs/init.el | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 452328d..b805c58 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -392,15 +392,16 @@ preserved." (default-value 'tab-width)) (defvar x-indentation-settings - '((c-mode :extra-vars (c-basic-offset)) - (css-mode :extra-vars (css-indent-offset)) - (emacs-lisp-mode :spaces t) + '((c-mode :extra-vars (c-basic-offset)) + (css-mode :extra-vars (css-indent-offset)) + (emacs-lisp-mode :spaces t) (graphviz-dot-mode :extra-vars (graphviz-dot-indent-width)) - (lisp-mode :spaces t) - (org-mode :spaces t) - (python-mode :extra-vars (python-indent-offset)) - (sgml-mode :width 2 :extra-vars (sgml-basic-offset)) - (sh-mode :extra-vars (sh-basic-offset))) + (lisp-mode :spaces t) + (lisp-data-mode :spaces t) + (org-mode :spaces t) + (python-mode :extra-vars (python-indent-offset)) + (sgml-mode :width 2 :extra-vars (sgml-basic-offset)) + (sh-mode :extra-vars (sh-basic-offset))) "A list of per-mode indentation settings. Each list contains a major-mode and the 3 optional keyword arguments of :spaces, :width, and :extra-vars. When setting the settings for a given major-mode, the |