Ⅰ. 插件描述
Vim syntax for TOMLⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'cespare/vim-toml'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'cespare/vim-toml'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'cespare/vim-toml'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/cespare/vim-toml
Ⅳ. 文档说明
# vim-toml
Vim syntax for TOML.
Installation
Vim packages (recommended; Vim 8+ only)
Clone or submodule this repo into your Vim packages location. Example:
mkdir -p ~/.vim/pack/plugins/start
cd ~/.vim/pack/plugins/start
git clone https://github.com/cespare/vim-toml.git
Pathogen
Set up Pathogen then clone/submodule
this repo into ~/.vim/bundle/toml
, or wherever you've pointed your Pathogen.
Vundle
Set up Vundle then add `Plugin
'cespare/vim-toml' to your vimrc and run
:PluginInstall` from a fresh vim.
vim-plug
Set up vim-plug. In your .vimrc, between
the lines for call plug#begin()
and call plug#end()
, add the line `Plug
'cespare/vim-toml'. Reload your .vimrc and then run
:PlugInstall`.
Janus
Set up Janus and then clone/submodule this
repo into ~/.janus
and restart vim.
Contributing
Contributions are very welcome! Just open a PR.