Ⅰ. 插件描述
A Vim syntax definition for the Dockerfile format.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'elemecca/dockerfile-vim-ours'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'elemecca/dockerfile-vim-ours'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'elemecca/dockerfile-vim-ours'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/elemecca/dockerfile.vim
Ⅳ. 文档说明
This is a Vim filetype plugin for the [Dockerfile] format employed by
the [Docker] build
command.
Installing
Installing with [Pathogen] is recommended:
git clone git://github.com/Elemecca/dockerfile.vim.git ~/.vim/bundle/dockerfile
Copying
Written in 2014 by Sam Hanes <sam@maltera.com>
To the extent possible under law, the author(s) have dedicated all
copyright and related and neighboring rights to this software to
the public domain worldwide. This software is distributed without
any warranty.
You should have received a copy of the CC0 Public Domain Dedication
along with this software. If not, see:
http://creativecommons.org/publicdomain/zero/1.0/