diff options
| author | Simon Fowler <simon.fowler@anu.edu.au> | 2020-09-26 19:17:59 +1000 |
|---|---|---|
| committer | Simon Fowler <simon.fowler@anu.edu.au> | 2020-09-26 22:10:31 +1000 |
| commit | 83277d5545463aa1af37bb3de5221fe28dec5eae (patch) | |
| tree | 94480161dcf91987f9755b2f27cc30e5d36c26da /rc/tools/python | |
| parent | dd1a582b30cc17c3e484fe77b917485ff7a2ff16 (diff) | |
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.
Diffstat (limited to 'rc/tools/python')
0 files changed, 0 insertions, 0 deletions
