1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-21 16:15:40 +01:00

Added dockerfile syntax highlighting for *.dockerfile

This commit is contained in:
Brandon Gulla 2015-10-21 09:27:43 -04:00
parent 0fd05e5ecc
commit 58b164c007

View File

@ -1,5 +1,5 @@
## Syntax highlighting for Dockerfiles
syntax "Dockerfile" "Dockerfile[^/]*$"
syntax "Dockerfile" "Dockerfile[^/]*$" "\.dockerfile$"
## Keywords
icolor red "^(FROM|MAINTAINER|RUN|CMD|LABEL|EXPOSE|ENV|ADD|COPY|ENTRYPOINT|VOLUME|USER|WORKDIR|ONBUILD)[[:space:]]"