name Indentation scope source.shell settings decreaseIndentPattern ^\s*(\}|(elif|else|fi|esac|done)\b) increaseIndentPattern (?x) ^\s*(elif|else|case)\b | ^.*(\{|\b(do)\b)\s*$ | ^.*\bthen\b\s*$ indentNextLinePattern ^.*[^\\]\\$ disableIndentNextLinePattern ^\s*then\s*$ bracketIndentNextLinePattern ^\s*if\b.*(?!\bthen\b)$