We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 85a601f + 764a007 commit 0f4465eCopy full SHA for 0f4465e
Dockerfile.nanorc
@@ -1,7 +1,11 @@
1
## Syntax highlighting for Dockerfiles
2
syntax "Dockerfile" "Dockerfile[^/]*$" "\.dockerfile$"
3
4
-## Keywords
+## AS keyword
5
+icolor red start="^FROM[[:space:]]" end="([[:space:]]AS[[:space:]]|$)"
6
+icolor white "^FROM[[:space:]]*[^[:space:]]+[[:space:]]*"
7
+
8
+## Other keywords
9
icolor red "^(FROM|RUN|CMD|LABEL|MAINTAINER|EXPOSE|ENV|ADD|COPY|ENTRYPOINT|VOLUME|USER|WORKDIR|ARG|ONBUILD|STOPSIGNAL|HEALTHCHECK|SHELL)[[:space:]]"
10
11
## Brackets & parenthesis
0 commit comments