zig.vim
File detection and syntax highlighting for the zig programming language.
Installation
- Use Vim 8 or newer
mkdir -p ~/.vim/pack/plugins/start/
cd ~/.vim/pack/plugins/start/
git clone https://github.com/ziglang/zig.vim
Configuration
To enable automatic formatting on save, add the following configuration to your vimrc:
let g:zig_fmt_autosave = 1