mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-18 00:42:13 +03:00
83277d5545
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. |
||
---|---|---|
.. | ||
deindent-after-done | ||
deindent-after-esac | ||
deindent-after-fi | ||
deindent-case-option | ||
deindent-compound-command | ||
deindent-one-line-case-option | ||
deindent-only-else | ||
indent-after-do | ||
indent-after-in | ||
indent-after-then | ||
indent-block-case | ||
indent-compound-command | ||
no-deindent-after-else | ||
no-deindent-after-fi |