summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2016-10-31 10:56:49 +0100
committerAlan Pearce2016-10-31 10:56:49 +0100
commit606968a957b29edaf37b1dc9dd4bc4aadd951b93 (patch)
tree14dfcd75d5522cb1a7b4828f4efc66b14f647026
parent035dc06da0911c3abea6e1932749fde7e3bbfd35 (diff)
downloaddotfiles-606968a957b29edaf37b1dc9dd4bc4aadd951b93.tar.lz
dotfiles-606968a957b29edaf37b1dc9dd4bc4aadd951b93.tar.zst
dotfiles-606968a957b29edaf37b1dc9dd4bc4aadd951b93.zip
Emacs: Fix sh-mode indentation
-rw-r--r--tag-emacs/emacs.d/init.org3
1 files changed, 2 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 80c6b63..c803895 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -1990,7 +1990,8 @@ Make a shell-script buffer executable after saving it, if it has a shebang.
   (use-package sh-script
     :mode (("\\.zsh\\'" . shell-script-mode))
     :config (setq sh-shell-file "/usr/bin/env zsh"
-                  sh-indentation 2))
+                  sh-indentation 2
+                  sh-basic-offset 2))
 #+END_SRC
 
 #+BEGIN_SRC emacs-lisp