moby--moby/contrib/syntax/vim
Ian Chen a765210718 add vim-plug setting
this should work ( tried on my machine)

Signed-off-by: Ian Chen <ianre657@gmail.com>
2018-07-04 15:54:19 +08:00
..
doc Link to HTTPS urls in contrib comments/maintainers 2015-04-11 13:35:08 -04:00
ftdetect Allow vim be case insensitive for D in dockerfile 2018-06-08 10:30:40 +09:00
syntax Update Dockerfile highlight definitions 2016-06-05 17:45:21 +02:00
LICENSE Reorganize the syntax highlighting files in contrib under a common directory to match "contrib/init" and "contrib/completion" 2013-12-29 01:46:00 -07:00
README.md add vim-plug setting 2018-07-04 15:54:19 +08:00

README.md

dockerfile.vim

Syntax highlighting for Dockerfiles

Installation

With pathogen, the usual way...

With Vundle

Plugin 'docker/docker' , {'rtp': '/contrib/syntax/vim/'}

With vim-plug

Plug 'docker/docker' , {'rtp': '/contrib/syntax/vim/'}   

Features

The syntax highlighting includes:

  • The directives (e.g. FROM)
  • Strings
  • Comments

License

BSD, short and sweet