view runtime/syntax/dockerfile.vim @ 16328:b576f2e069b7 v8.1.1169

patch 8.1.1169: writing coverage info in a separate dir is not needed commit https://github.com/vim/vim/commit/837854d1bc01d91ff463a2cfdf8aec9b89d5fbd1 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 13 22:44:51 2019 +0200 patch 8.1.1169: writing coverage info in a separate dir is not needed Problem: Writing coverage info in a separate dir is not needed. Solution: Revert the changes to use a separate directory.
author Bram Moolenaar <Bram@vim.org>
date Sat, 13 Apr 2019 22:45:05 +0200
parents 9eaf8ef656e9
children f2c2f9126a82
line wrap: on
line source

" dockerfile.vim - Syntax highlighting for Dockerfiles
" Maintainer:   Honza Pokorny <https://honza.ca>
" Version:      0.6
" Last Change:  2016 Aug 9
" License:      BSD


if exists("b:current_syntax")
    finish
endif

let b:current_syntax = "dockerfile"

syntax case ignore

syntax match dockerfileKeyword /\v^\s*(ONBUILD\s+)?(ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)\s/

syntax region dockerfileString start=/\v"/ skip=/\v\\./ end=/\v"/

syntax match dockerfileComment "\v^\s*#.*$"

hi def link dockerfileString String
hi def link dockerfileKeyword Keyword
hi def link dockerfileComment Comment