An open API service indexing awesome lists of open source software.

https://github.com/zdharma-continuum/zinit-vim-syntax

A Vim syntax definition for Zinit commands in any ft=zsh file
https://github.com/zdharma-continuum/zinit-vim-syntax

Last synced: 11 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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`:

```vim
Plug 'zdharma-continuum/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:

![neovim-default](./images/neovim-default.png)

The theme: `eddyekofo94/gruvbox-flat.nvim`:

![neovim-gruvbox-flat](./images/neovim-gruvbox-flat.png)

## TODO

1. Highlight user and plugin with different colors.
1. Fix bugs.
1. Other?