mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-04-06 18:36:50 +00:00
Source type is now inferred from the primary key: github_repo = owner/repo (was source=github + owner + repo) git_url = https://... (was source=gittag + url) gitea_repo = owner/repo (was source=gitea + owner + repo) hashicorp_product = name (was source=hashicorp + product) One-off dist sources (nodedist, zigdist, etc.) keep the explicit source= key since they're already one-liners. Parser still accepts the old format via the default fallback branch.
title, homepage, tagline
| title | homepage | tagline |
|---|---|---|
| vim-zig | https://github.com/ziglang/zig.vim | vim-zig (zig.vim) adds zig language support for Vim. |
To update (replacing the current version) run webi vim-zig.
Cheat Sheet
vim-zigprovides integration withzls,zig fmt, and other zig tooling.
You'll also need to install ALE (part of
vim-essentials) or
syntastic first.
Files
~/.vim/pack/plugins/start/zig.vim/
~/.vim/plugins/start/zig.vim
How to install and configure by hand
-
Remove the previous version of zig.vim, if any:
rm -rf ~/.vim/pack/plugins/start/zig.vim -
Install
zig.vimas a Vim8 package withgit:mkdir -p ~/.vim/pack/plugins/start/ git clone --depth=1 --single-branch master \ https://github.com/zig-lang/zig.vim \ ~/.vim/pack/plugins/start/zig.vim -
Create
~/.vim/plugins/zig.vim, as follows:" Reasonable defaults for zig.vim " run zig fmt on save let g:zig_fmt_autosave = 1