diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-08-24 21:11:19 +0300 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-08-24 21:11:19 +0300 |
commit | 97f42b031e166d98b40a9c6c19a01adc1b6fc9f2 (patch) | |
tree | 04eef12cd9dcc8515a4abee6f1f93adf5f5be0d6 /.config | |
parent | f40a622ab6fb5f2aa0991c7fafff76663007bfdf (diff) |
emacs: Update indentation settings
Diffstat (limited to '.config')
-rw-r--r-- | .config/emacs/config.org | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/.config/emacs/config.org b/.config/emacs/config.org index 982cac1..48687df 100644 --- a/.config/emacs/config.org +++ b/.config/emacs/config.org @@ -642,16 +642,18 @@ with a custom function that reads a list of mode-specific indentation settings. indent-tabs-mode t) (defvar mango-indentation-settings - '((c-mode :width 8 :extra-vars (c-basic-offset)) + '((bash-ts-mode :width 4) + (c-mode :width 8 :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 :width 4 :spaces nil :extra-vars (python-indent-offset)) - (rust-mode :width 4 :spaces nil) - (sgml-mode :width 4 :spaces nil :extra-vars (sgml-basic-offset)) - (xml-mode :width 4 :spaces nil)) + (python-mode :width 4 :extra-vars (python-indent-offset)) + (rust-mode :width 4) + (sgml-mode :width 2 :extra-vars (sgml-basic-offset)) + (sh-mode :width 4 :extra-vars (sh-basic-offset)) + (xml-mode :width 4)) "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 settings will also be applied |