1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/contrib/syntax/vim
Tianon Gravi 62d3b1bf2e Add embedded shell script highlight to vim syntax
This highlights `RUN`, `CMD`, and `ENTRYPOINT` lines using shell highlighting.  It doesn't bother detecting the JSON forms, but that's OK because JSON arrays highlight pretty reasonably with shell highlights. :)

Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
2015-05-29 13:39:37 -07:00
..
doc Link to HTTPS urls in contrib comments/maintainers 2015-04-11 13:35:08 -04:00
ftdetect 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
syntax Add embedded shell script highlight to vim syntax 2015-05-29 13:39:37 -07: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

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