kakoune/test/indent/sh
Simon Fowler 83277d5545 Improve shell indentation implementation.
Use the custom object match command for copying indentation of blocks,
rather than simply increasing/decreasing indentation when start and end
statements are encountered.

This fixes an issue where a newline added after an already correctly
placed `else` or `fi` would trigger an unnecessary deindent. Tests have
been added to ensure no regression in this behaviour.
2020-09-26 22:10:31 +10:00
..
deindent-after-done
deindent-after-esac
deindent-after-fi
deindent-case-option
deindent-compound-command
deindent-one-line-case-option Add tests. 2019-06-30 12:57:59 +10:00
deindent-only-else
indent-after-do
indent-after-in
indent-after-then
indent-block-case
indent-compound-command
no-deindent-after-else Improve shell indentation implementation. 2020-09-26 22:10:31 +10:00
no-deindent-after-fi Improve shell indentation implementation. 2020-09-26 22:10:31 +10:00