For example:

The syntax is not capturing the EOF but rather treats all lines follows as part of the heredoc.
Moving the EOF to beginning of the line works, as that's how a shell script would indeed format:

But of course this is invalid just syntax:
<$> just
error: Expected '*', ':', '$', identifier, or '+', but found end of line
——▶ justfile:66:4
│
66 │ EOF
│ ^
I looked around but don't really know how to fix it. Perhaps someways to remove all the indentations and send only the "actual body" to the embedded language somehow?
For example:
The syntax is not capturing the
EOFbut rather treats all lines follows as part of the heredoc.Moving the
EOFto beginning of the line works, as that's how a shell script would indeed format:But of course this is invalid
justsyntax:I looked around but don't really know how to fix it. Perhaps someways to remove all the indentations and send only the "actual body" to the embedded language somehow?