Files
zeekay 3cc5b0fa92 Rebrand Cap'n Proto vim plugin to ZAP
Conservative, wire/library-compatible rebrand for the zap-proto fork:

- Rename plugin files keyed on the editor filetype:
  ftdetect/, syntax/, indent/ capnp.vim -> zap.vim
- Language id / filetype / b:current_syntax: capnp -> zap
- ftdetect maps BOTH *.zap and *.capnp -> filetype=zap (back-compat)
- Syntax group names capnp* -> zap* (plugin-internal, self-contained)
- Indent function CapnpIndent -> ZapIndent (self-contained)
- README: ZAP identity, repo URL -> github.com/zap-proto/vim,
  keep '.capnp' back-compat note

Preserve honest attribution that ZAP is a fork of Cap'n Proto
(https://capnproto.org), upstream authors, and the MIT license.
2026-06-19 14:53:33 -07:00

1003 B

About

Vim syntax highlighting, folding and (simple) indentation rules for ZAP schema files (.zap, and .capnp for back-compat).

ZAP is a fork of Cap'n Proto that stays wire- and library-compatible, so this plugin highlights both .zap and .capnp schemas.

Install

Pathogen

git clone https://github.com/zap-proto/vim.git ~/.vim/bundle/vim-zap

Vundle

Add the following to $MYVIMRC (after call vundle#rc()):

Plugin 'zap-proto/vim'

Contributing

Docs: ZAP for Vim / Neovim ยท part of the ZAP Protocol

If you have any ideas, feel free to open an issue and/or pull request!

Authors

License

See the LICENSE file in this repository.