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 Fix indent/sh/deindent-after-esac test case 2019-07-01 22:04:04 +10:00
deindent-after-fi Add tests. 2019-06-30 12:57:59 +10:00
deindent-case-option
deindent-compound-command
deindent-one-line-case-option
deindent-only-else
indent-after-do
indent-after-in
indent-after-then Add tests. 2019-06-30 12:57:59 +10:00
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