Ⅰ. 插件描述
Vim Syntax highlighting for PuppetⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'jvc26/vim-puppet-shouldve-said-no'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'jvc26/vim-puppet-shouldve-said-no'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'jvc26/vim-puppet-shouldve-said-no'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/jvc26/vim-puppet
Ⅳ. 文档说明
# Clone of Puppetlabs' Vim syntax highlighting plugin
As I was unable to find a standalone version of the included Puppetlabs
vim syntax highlighting plugin, I have replicated it here. The original
can be found as part of the puppet github repository:
https://github.com/puppetlabs/puppet
The point of forking this part of the Puppet repository was to enable a
standalone syntax plugin without requiring the rest of the Puppet
distribution.
Installation
To install these files, copy them into ~/.vim, or the relevant
system-wide location. To use the ftplugin and indenting, you may need
to enable them with "filetype plugin indent on" in your vimrc.