From 947aec1fd55d88b32c8df42c86ac05047087f0e0 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 21 Sep 2024 07:45:03 +0200 Subject: emacs: Update indentation settings --- .config/emacs/init.el | 6 ++++-- 1 file 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)) -- cgit v1.2.3