File detection and syntax highlighting for the zig programming language.
If using vim-plug (for Vim or Neovim)
- Open vim config
- Write
Plug 'ziglang/zig.vim'inside theplugcommand:
call plug#begin('~/.vim/plugged')
Plug 'ziglang/zig.vim'
call plug#end()- Restart vim / reload vim config
- type
:PlugInstall
- Use Vim 8 or newer