Variable: sh-indent-after-done

sh-indent-after-done is a customizable variable defined in sh-script.el.gz.

Value

0

Documentation

How much to indent a statement after a done keyword.

Normally this is 0, which aligns the done to the matching looping construct line. Setting it non-zero allows you to have the do statement on a line by itself and align the done under to do.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/sh-script.el.gz
(defcustom sh-indent-after-done 0
  "How much to indent a statement after a `done' keyword.
Normally this is 0, which aligns the `done' to the matching
looping construct line.
Setting it non-zero allows you to have the `do' statement on a line
by itself and align the done under to do."
  :type `(choice ,@ sh-number-or-symbol-list)
  :group 'sh-indentation)