We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As per https://docs.docker.com/reference/dockerfile/#format, the following are equivalent
RUN echo hello \ # comment world RUN echo hello \ world
However, in Zed, after such a comment, the syntax highlighting misbehaves. The way it turns out depends on the command before the comment, e.g. with
FROM alpine RUN echo hello \ # comment world ENTRYPOINT [ "/bin/sh" ]
the only issue is that the worldtoken is highlighted as a shell command, whereas with
world
FROM alpine ENV A=1 \ # comment B=2 ENTRYPOINT [ "/bin/sh" ]
the ENTRYPOINT (and all later tokens) are not highlighted, except some special characters like @ and :
ENTRYPOINT
@
:
The text was updated successfully, but these errors were encountered:
Possibly related to camdencheek/tree-sitter-dockerfile#59
Sorry, something went wrong.
No branches or pull requests
As per https://docs.docker.com/reference/dockerfile/#format, the following are equivalent
However, in Zed, after such a comment, the syntax highlighting misbehaves. The way it turns out depends on the command before the comment, e.g. with
the only issue is that the
world
token is highlighted as a shell command, whereas withthe
ENTRYPOINT
(and all later tokens) are not highlighted, except some special characters like@
and:
The text was updated successfully, but these errors were encountered: