weex.vim


Ⅰ. 插件描述

Weex syntax file for Vim.

Ⅱ. 基本信息

创建日期:  2016-05-28
使用用户:  0
Github星:  6
插件作者:  Kevin Yue

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# weex.vim
[Weex][] syntax file for Vim.

Demo

  • with [pangloss/vim-javascript]js

    ![capture-with-vim-javascript.png](capture-with-vim-javascript.png)
  • without pangloss/vim-javascript

    ![capture.png](capture.png)
    

Installation

For better JavaScript syntax highlighting, pangloss/vim-javascript or
othree/yajs.vim is recommended, but not required.

Use Vundle:

Plugin 'yuezk/weex.vim'

Use vim-plug:

Plug 'yuezk/weex.vim'

Use NeoBundle:

NeoBundle 'yuezk/weex.vim'

Changelog

2017-02-10

  • Modify syntax region name for better comment
  • Imporove indent

2017-02-09

  • Add indent file

2017-02-04

  • Improve syntax highlighting
  • Add demo captures

2016-05-28

  • Basic syntax highlighting

添加新评论