zplugin-vim-syntax


Ⅰ. 插件描述

A Vim syntax definition for Zinit commands in any ft=zsh file

Ⅱ. 基本信息

创建日期:  2019-09-14
使用用户:  3
Github星:  10
插件作者:  zinit-zsh

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# zinit-vim-syntax

A Vim syntax definition for Zinit commands in any file of type zsh.

Installation

Load as a Vim plugin. E.g. when using vim-plug, add to ~/.vimrc:

Plug 'zinit-zsh/zinit-vim-syntax'

and then issue the :PlugInstall command.

Manual Installation

To install the syntax copy the file syntax/after/zsh.vim under the path
~/.vim/syntax/after.

Examples

The default theme:

plastic

The theme flrnprz/plastic.vim:

plastic

The theme slate:

plastic

The theme murphy:

plastic

The theme lucasprag/simpleblack:

plastic

TODO

  1. Highlight user and plugin with different colors.
  2. Make the wait's distinctness controlled.
  3. Make the syntax matching commands fully contained.
  4. Fix bugs.
  5. Other?

添加新评论