moby--moby/contrib/syntax/vim
Andrew Pennebaker 2f5146ba1d support *.Dockerfile
Probably a good idea to treat `*.Dockerfile` as dockerfile format as well. In general, it's better to use the `Dockerfile` part as an extension rather than a basename.

Signed-off-by: Andrew Pennebaker <andrew.pennebaker@gmail.com>
2017-10-22 11:16:06 -05:00
..
doc Link to HTTPS urls in contrib comments/maintainers 2015-04-11 13:35:08 -04:00
ftdetect support *.Dockerfile 2017-10-22 11:16:06 -05: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 Update syntax/vim README with Vundle instructions 2015-01-05 11:08:22 -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/'}

Features

The syntax highlighting includes:

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

License

BSD, short and sweet