Add `ARG` instruction syntax for vim

Signed-off-by: Koichi Shiraishi <k@zchee.io>
This commit is contained in:
Koichi Shiraishi 2016-01-20 15:08:45 +09:00
parent cd1ed858d3
commit b15247868c
No known key found for this signature in database
GPG Key ID: A71DFD3B4DA7A79B
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ let b:current_syntax = "dockerfile"
syntax case ignore
syntax match dockerfileKeyword /\v^\s*(ONBUILD\s+)?(ADD|CMD|ENTRYPOINT|ENV|EXPOSE|FROM|MAINTAINER|RUN|USER|LABEL|VOLUME|WORKDIR|COPY|STOPSIGNAL)\s/
syntax match dockerfileKeyword /\v^\s*(ONBUILD\s+)?(ADD|CMD|ENTRYPOINT|ENV|EXPOSE|FROM|MAINTAINER|RUN|USER|LABEL|VOLUME|WORKDIR|COPY|STOPSIGNAL|ARG)\s/
highlight link dockerfileKeyword Keyword
syntax region dockerfileString start=/\v"/ skip=/\v\\./ end=/\v"/