Mercurial > vim
view runtime/syntax/dockerfile.vim @ 7743:6069f43cea4e v7.4.1169
commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 24 20:36:41 2016 +0100
patch 7.4.1169
Problem: The socket I/O is intertwined with the netbeans code.
Solution: Start refactoring the netbeans communication to split off the
socket I/O. Add the +channel feature.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 24 Jan 2016 20:45:05 +0100 |
parents | 6921742f396a |
children | 9eaf8ef656e9 |
line wrap: on
line source
" dockerfile.vim - Syntax highlighting for Dockerfiles " Maintainer: Honza Pokorny <http://honza.ca> " Version: 0.5 " Last Change: 2014 Aug 29 " 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|CMD|ENTRYPOINT|ENV|EXPOSE|FROM|MAINTAINER|RUN|USER|VOLUME|WORKDIR|COPY)\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