This website requires JavaScript.
Explore
Help
Sign In
xenia
/
home
Watch
1
Star
0
Fork
0
You've already forked home
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
c9be6730f6
home
/
test
/
indent
/
sh
/
no-deindent-after-else
/
cmd
2 lines
9 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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 11:17:59 +02:00
gk3jobaz
Reference in New Issue
Copy Permalink
Mastodon