[英]Highlighting docker commands in vim
I am editing Dockerfile on command line.我正在命令行上编辑 Dockerfile。 I would like to know how could I make Docker's command to be recognized by vim?我想知道如何让 Docker 的命令被 vim 识别?
The docker GitHub repository contains a dockerfile.vim that provides syntax highlighting for Dockerfiles: docker GitHub存储库包含一个dockerfile.vim,它为Dockerfiles提供语法高亮显示:
https://github.com/docker/docker/tree/master/contrib/syntax/vim https://github.com/docker/docker/tree/master/contrib/syntax/vim
还有另一个受欢迎的Vim插件: https : //github.com/ekalinin/Dockerfile.vim
si a ti te salio el error de quqeno puedes hacer el vim Dockerfile lo que me paso a mi se debe primeo ingresar al contenedor, luego se debe dar en apt-get update y final mente apt.get install vim y ya correra vim
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.