syntax-vim-ex


Ⅰ. 插件描述

An excellent Vim's syntax highlighting file for Vim script

Ⅱ. 基本信息

创建日期:  2016-02-19
使用用户:  1
Github星:  41
插件作者:  vim-jp

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

syntax-vim-ex

An excellent Vim's syntax highlighting file for Vim script.

Difference between original

  • The syntax-vim-ex has been generated by parse the C source code of Vim. So
    keyword extraction is accurate.
  • Omitted keyword extraction algorithm of Ex command is perfect because it is
    same and the C source code of Vim.
  • It will immediately follow the Vim updates.
  • Generator source code is all open sourced. (See generator branch)

Requirement

Vim 7.4.1486 or later

How to Install

$ cd ~/.vim
$ mkdir -p pack/my/opt
$ cd pack/my/opt
$ git clone --single-branch --depth 1 https://github.com/vim-jp/syntax-vim-ex.git

Add following line to your .vimrc.

packadd! syntax-vim-ex

Remarks:

  • In the case of Windows should read the ~/.vim to
    %HOMEDRIVE%%HOMEPATH%\vimfiles. And mkdir -p option is not required.
  • Directory name my can be changed to any name.
  • If you want to configure the package under ~/.vim directory as in this
    example the setting of option 'packpath' is not required.
  • If you are calling :packloadall explicitly in your .vimrc, packadd
    should be added before it.

How to Update

$ cd ~/.vim/pack/my/opt/syntax-vim-ex
$ git pull

Licence

Follow the Vim license

Authors

添加新评论