1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-02 00:46:42 +03:00
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 Add tests. 2019-06-30 12:57:59 +10:00
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 Add tests. 2019-06-30 12:57:59 +10:00
deindent-compound-command Add tests. 2019-06-30 12:57:59 +10:00
deindent-one-line-case-option Add tests. 2019-06-30 12:57:59 +10:00
deindent-only-else Add tests. 2019-06-30 12:57:59 +10:00
indent-after-do Add tests. 2019-06-30 12:57:59 +10:00
indent-after-in Add tests. 2019-06-30 12:57:59 +10:00
indent-after-then Add tests. 2019-06-30 12:57:59 +10:00
indent-block-case Add tests. 2019-06-30 12:57:59 +10:00
indent-compound-command Add tests. 2019-06-30 12:57:59 +10:00
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