Closed thetic closed 5 months ago
Thanks for the report! I just pushed a commit to main
that should fix this issue.
I just noticed that this also affects ENV
:
ENV \
# comment
VAR=value
Sure enough. Thanks for the vigilance 😄
I'll reopen this until I get to fixing the issue for all commands.
I see issue e.g. on:
FROM image
ENV FOO bar baz
ENV BAR foo
with the last ENV
not getting highlighted. Similarly to this, "multi-parameter" EXPOSE
also does this.
Okay, the issue with comment lines not being removed after line continuations should be fixed by https://github.com/camdencheek/tree-sitter-dockerfile/commit/439c3e7b8a9bfdbf1f7d7c2beaae4173dc484cbf. Thanks for the report!
The following causes an error:
Whereas none of the following do: