diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-09-21 07:45:03 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-09-21 07:45:03 +0200 |
commit | 947aec1fd55d88b32c8df42c86ac05047087f0e0 (patch) | |
tree | 979df017cdea24cb3bab0351f2ef98515e30e68b | |
parent | 1d1eb583fd6bc5e124ec1a77b64aa1dcd8224131 (diff) |
emacs: Update indentation settings
-rw-r--r-- | .config/emacs/init.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 5abf0b5..a82483c 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -308,12 +308,14 @@ preserved." (defvar x-indentation-settings '((c-mode :extra-vars (c-basic-offset)) + (c-ts-mode :extra-vars (c-ts-mode-indent-offset)) (css-mode :extra-vars (css-indent-offset)) - (emacs-lisp-mode :spaces t) + (emacs-lisp-mode :width 8 :spaces t) ;; GNU code uses 8-column tabs (go-ts-mode :extra-vars (go-ts-mode-indent-offset)) (graphviz-dot-mode :extra-vars (graphviz-dot-indent-width)) - (lisp-mode :spaces t) + (helpful-mode :width 8) (lisp-data-mode :spaces t) + (lisp-mode :spaces t) (org-mode :spaces t) (python-mode :extra-vars (python-indent-offset)) (sgml-mode :width 2 :extra-vars (sgml-basic-offset)) |