Skip to content

⚙️ A Vim syntax definition for ZI commands in any ft=zsh file.

License

Notifications You must be signed in to change notification settings

z-shell/zi-vim-syntax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

Logo ❮ ZI ❯ Vim Syntax

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


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?