1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-09-20 09:19:24 +03:00
kakoune/test/indent/sh/no-deindent-after-fi
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
..
cmd Improve shell indentation implementation. 2020-09-26 22:10:31 +10:00
in Improve shell indentation implementation. 2020-09-26 22:10:31 +10:00
out Improve shell indentation implementation. 2020-09-26 22:10:31 +10:00
rc Improve shell indentation implementation. 2020-09-26 22:10:31 +10:00