From 6c7c870c8542918da832de1a580a59943f6b75e1 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 9 Sep 2024 15:33:46 +0200 Subject: emacs: Update indentation settings --- .config/emacs/init.el | 17 +++++++++-------- 1 file 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 -- cgit v1.2.3