Skip to content

Latest commit

 

History

History
48 lines (28 loc) · 1.19 KB

File metadata and controls

48 lines (28 loc) · 1.19 KB

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?