- Readme update for easier setup on npm.
- Breaking Change: Prettier support now starts at
3.0.0
. For older Prettier versions useprettier-plugin-go-template@0.0.13
and below.
- Fix formatting issue #84
- Fix several formatting issues
- Improve unformattable script & style detection
- Huge thanks to @jasikpark for validating & cleaning up the issues 🎉
- AST rewrite
- Fix inline actions
- If / Else / Else-If support
- Ignore formatting for blocks with `{{/* prettier-ignore */}}
- Ignore large code sections with `{{/* prettier-ignore-start /}}...{{/ prettier-ignore-end */}}
- Tweak general formatting
- Support for multiline actions
- Resolve bug #19: Fix template comments.
- Resolve bug of single line if statements.
- Go block statements will now be indented accordingly. Except for
else
.- if, range, block, with, define, end
- Fix broken shortcodes. Thanks to @alqu for discovering & fixing the bug.