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
- Host: GitHub
- URL: https://github.com/zdharma-continuum/zinit-vim-syntax
- Owner: zdharma-continuum
- License: mit
- Created: 2021-11-05T22:34:10.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-29T15:37:15.000Z (over 1 year ago)
- Last Synced: 2025-04-08T00:09:18.184Z (over 1 year ago)
- Language: Vim Script
- Homepage:
- Size: 577 KB
- Stars: 10
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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:

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

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