summaryrefslogtreecommitdiff
path: root/.config/emacs
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs')
-rw-r--r--.config/emacs/init.el6
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))