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. |
||
---|---|---|
.. | ||
c-family | ||
clojure/doubled-brackets | ||
comment | ||
go | ||
haskell | ||
html | ||
javascript/deindent-complex-brace-structure | ||
lisp/doubled-brackets | ||
lua/insert-end-only-when-needed | ||
markdown | ||
ruby | ||
rust | ||
sh |