]> git.eshelyaron.com Git - emacs.git/commit
* lisp/progmodes/sh-script.el (sh-smie-sh-rules): Tweak indent of new `for`
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 26 Jan 2021 22:57:26 +0000 (17:57 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 26 Jan 2021 22:58:42 +0000 (17:58 -0500)
commita572b21928a33b7ede445769bde5a67356327fef
tree2c3b1b544f6f588abef39662f8b50815b2ee6dd6
parent046db04e3da4afa7c6eb05af8c7ceb048689521a
* lisp/progmodes/sh-script.el (sh-smie-sh-rules): Tweak indent of new `for`

The new `for (TEST) { BODY }` syntax introduces various challenges.
This patch just fixes a trivial subcase.
lisp/progmodes/sh-script.el
test/manual/indent/shell.sh