Ⅰ. 插件描述
Erlang syntax checking and compiler plugin for VimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'vim-erlang/vim-erlang-compiler'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'vim-erlang/vim-erlang-compiler'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'vim-erlang/vim-erlang-compiler'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-erlang/vim-erlang-compiler
Ⅳ. 文档说明
vim-erlang-compiler
vim-erlang-compiler
is an Erlang syntax checking and compiler plugin for
Vim.
Installation
With pathogen.vim:
cd ~/.vim/bundle
and clone this repository.Generate help page:
:Helptags
Manually:
- Clone this repository.
Add the following line to your
.vimrc
(replace the path with your own)::set runtimepath^=/path/to/vim-erlang-compiler
- Restart Vim (or execute the command above).
Generate help page:
:helptags /path/to/vim-erlang-compiler/doc
Documentation
- On the web: user documentation.
- Inside Vim:
:help vim-erlang-compiler
.