zi-vim-syntax

Logo ❮ ZI ❯ Vim Syntax

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

</div><hr />

Installation

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

Plug 'z-shell/zi-vim-syntax'

and then issue the :PlugInstall command.

Manual Installation

To install the syntax copy the file after/syntax/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?