vim-riot


Ⅰ. 插件描述

Vim syntax plugin for Riot.js

Ⅱ. 基本信息

创建日期:  2016-06-05
使用用户:  20
Github星:  19
插件作者:  Ryutaro Yamada

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'ryym/vim-riot'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'ryym/vim-riot'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'ryym/vim-riot'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/ryym/vim-riot

Ⅳ. 文档说明

# vim-riot

License

This is a Vim plugin to provide syntax highlighting and indentation for
[Riot.js] custom tags. [Riot custom tag] contains HTML, CSS and JS in a single file.
The implementation of the indent file is based on [vim-jsx].

Note that [pangloss/vim-javascript] is required to use this plugin.
(This javascript syntax plugin is included in Vim by default from v7.4.2205)

Installation

NeoBundle,
Vundle,
vim-plug

NeoBundle 'ryym/vim-riot'
Plugin 'ryym/vim-riot'
Plug 'ryym/vim-riot'

pathogen

cd ~/.vim/bundle
git clone https://github.com/ryym/vim-riot.git

Sample Image

syntax highlight sample

添加新评论