mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-23 09:56:19 +04:00
5938e2c0dc
* fix: update upstream tree-sitter-dockerfile Fixes: #6797 * fix: review * fix: review
55 lines
553 B
Scheme
55 lines
553 B
Scheme
[
|
|
"FROM"
|
|
"AS"
|
|
"RUN"
|
|
"CMD"
|
|
"LABEL"
|
|
"EXPOSE"
|
|
"ENV"
|
|
"ADD"
|
|
"COPY"
|
|
"ENTRYPOINT"
|
|
"VOLUME"
|
|
"USER"
|
|
"WORKDIR"
|
|
"ARG"
|
|
"ONBUILD"
|
|
"STOPSIGNAL"
|
|
"HEALTHCHECK"
|
|
"SHELL"
|
|
"MAINTAINER"
|
|
"CROSS_BUILD"
|
|
] @keyword
|
|
|
|
[
|
|
":"
|
|
"@"
|
|
] @operator
|
|
|
|
(comment) @comment
|
|
|
|
|
|
(image_spec
|
|
(image_tag
|
|
":" @punctuation.special)
|
|
(image_digest
|
|
"@" @punctuation.special))
|
|
|
|
(double_quoted_string) @string
|
|
|
|
(expansion
|
|
[
|
|
"$"
|
|
"{"
|
|
"}"
|
|
] @punctuation.special
|
|
) @none
|
|
|
|
((variable) @constant
|
|
(#match? @constant "^[A-Z][A-Z_0-9]*$"))
|
|
|
|
[
|
|
(param)
|
|
(mount_param)
|
|
] @constant
|