Ⅰ. 插件描述
Iro.vim is a Vim plugin that is a next generation syntax highlighter.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'pocke/iro-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'pocke/iro-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'pocke/iro-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/pocke/iro.vim
Ⅳ. 文档说明
Iro.vim
Iro.vim is a Vim plugin that is a next generation syntax highlighter.
Installation
Use some plugin manager.
Example to use vim-plug
Plug 'pocke/iro.vim', { 'do': 'bundle install'}What's different from standard syntax highlighter?
TODO...
Requirements
- Vim 8 or newer
+if_ruby+if_python(For Python highlight)- psych gem version 3.0.0 or higher (for YAML highlight)
iro gem (for Ruby highlight)
- You can execute
bundle installin this directory each updates.
- You can execute
Supported Languages
- Ruby
- YAML
- Python (experimental)
License
Copyright 2017-2018 Masataka Pocke Kuwabara
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.